소스 검색

Corrected output

Martino 8 년 전
부모
커밋
37d9c2fa19
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      matplotlibcpp.h

+ 1 - 1
matplotlibcpp.h

@@ -307,7 +307,7 @@ namespace matplotlibcpp {
 
   inline void figure(){
 		PyObject* res = PyObject_CallObject(detail::_interpreter::get().s_python_function_figure, detail::_interpreter::get().s_python_empty_tuple);
-		if(!res) throw std::runtime_error("Call to legend() failed.");
+		if(!res) throw std::runtime_error("Call to figure() failed.");
 
 		Py_DECREF(res);