8000 Corrected output · tomix1024/matplotlib-cpp@37d9c2f · GitHub
[go: up one dir, main page]

Skip to content

Commit 37d9c2f

Browse files
author
Martino
committed
Corrected output
1 parent 2cbc314 commit 37d9c2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

matplotlibcpp.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ namespace matplotlibcpp {
307307

308308
inline void figure(){
309309
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.");
310+
if(!res) throw std::runtime_error("Call to figure() failed.");
311311

312312
Py_DECREF(res);
313313

0 commit comments

Comments
 (0)
0