8000 add _interpreter::get() to annotate · Cryoris/matplotlib-cpp@f4c5d72 · GitHub
[go: up one dir, main page]

Skip to content

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f4c5d72

Browse files
committed
add _interpreter::get() to annotate
1 parent 7c1a3ba commit f4c5d72

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

matplotlibcpp.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,8 @@ struct _interpreter {
290290
inline void backend(const std::string &name) { detail::s_backend = name; }
291291

292292
inline bool annotate(std::string annotation, double x, double y) {
293+
detail::_interpreter::get();
294+
293295
PyObject *xy = PyTuple_New(2);
294296
PyObject *str = PyString_FromString(annotation.c_str());
295297

0 commit comments

Comments
 (0)
0