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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy