We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2cbc314 commit 37d9c2fCopy full SHA for 37d9c2f
matplotlibcpp.h
@@ -307,7 +307,7 @@ namespace matplotlibcpp {
307
308
inline void figure(){
309
PyObject* res = PyObject_CallObject(detail::_interpreter::get().s_python_function_figure, detail::_interpreter::get().s_python_empty_tuple);
310
- if(!res) throw std::runtime_error("Call to legend() failed.");
+ if(!res) throw std::runtime_error("Call to figure() failed.");
311
312
Py_DECREF(res);
313
0 commit comments