Browse Source

format code

AtsushiSakai 9 years ago
parent
commit
ace84ae7fd
1 changed files with 3 additions and 4 deletions
  1. 3 4
      matplotlibcpp.h

+ 3 - 4
matplotlibcpp.h

@@ -248,17 +248,16 @@ namespace matplotlibcpp {
 		Py_DECREF(res);
 	}
 
-  inline void title(const std::string &titlestr)
+    inline void title(const std::string &titlestr)
 	{
 		PyObject* pytitlestr = PyString_FromString(titlestr.c_str());
 		PyObject* args = PyTuple_New(1);
 		PyTuple_SetItem(args, 0, pytitlestr);
 
-		PyObject* res = PyObject_CallObject(detail::_interpreter::get().s_python_function_title,
-        args);
+		PyObject* res = PyObject_CallObject(detail::_interpreter::get().s_python_function_title, args);
 		if(!res) throw std::runtime_error("Call to title() failed.");
 
-    //if PyDeCRFF, the show function doesn't wook on Mac OS
+        //if PyDeCRFF, the show function doesn't wook on Mac OS
 	}
 
 	inline void show()