8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1f39a5 commit 0e32084Copy full SHA for 0e32084
matplotlibcpp.h
@@ -381,6 +381,7 @@ PyObject *get_2darray(const std::vector<::std::vector<Numeric>> &v) {
381
#else // fallback if we don't have numpy: copy every element of the given vector
382
383
template <typename Numeric> PyObject *get_array(const std::vector<Numeric> &v) {
384
+ // interpreter needs to be initialized for any following commands to work
385
detail::_interpreter::get();
386
387
PyObject *list = PyList_New(v.size());
0 commit comments