We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c1a3ba commit f4c5d72Copy full SHA for f4c5d72
matplotlibcpp.h
@@ -290,6 +290,8 @@ struct _interpreter {
290
inline void backend(const std::string &name) { detail::s_backend = name; }
291
292
inline bool annotate(std::string annotation, double x, double y) {
293
+ detail::_interpreter::get();
294
+
295
PyObject *xy = PyTuple_New(2);
296
PyObject *str = PyString_FromString(annotation.c_str());
297
0 commit comments