8000 format code · kreturn/matplotlib-cpp@ace84ae · GitHub
[go: up one dir, main page]

Skip to content

Commit ace84ae

Browse files
committed
format code
1 parent 622e276 commit ace84ae

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

matplotlibcpp.h

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -248,17 +248,16 @@ namespace matplotlibcpp {
248248
Py_DECREF(res);
249249
}
250250

251-
inline void title(const std::string &titlestr)
251+
inline void title(const std::string &titlestr)
252252
{
253253
PyObject* pytitlestr = PyString_FromString(titlestr.c_str());
254254
PyObject* args = PyTuple_New(1);
255255
PyTuple_SetItem(args, 0, pytitlestr);
256256

257-
PyObject* res = PyObject_CallObject(detail::_interpreter::get().s_python_function_title,
258-
args);
257+
PyObject* res = PyObject_CallObject(detail::_interpreter::get().s_python_function_title, args);
259258
if(!res) throw std::runtime_error("Call to title() failed.");
260259

261-
//if PyDeCRFF, the show function doesn't wook on Mac OS
260+
//if PyDeCRFF, the show function doesn't wook on Mac OS
262261
}
263262

264263
inline void show()

0 commit comments

Comments
 (0)
0