matplotlib-cpp
matplotlib-cpp copied to clipboard
Extremely simple yet powerful header-only C++ plotting library built on the popular matplotlib
created a toy code, jut to get things rolling. re-run the code after a couple of days the figure is not loading anymore
Hello guys, **Compilation error:** `cannot convert ‘wchar_t**’ to ‘char**’ for argument ‘2’ to ‘void PySys_SetArgv(int, char**)’ ` **Where?** `/matplotlib-cpp/matplotlibcpp.h:177:57` **Workaround** Change the line above from ` PySys_SetArgv(argc, const_cast(argv));` to `PySys_SetArgv(argc,...
### Added: Adds bindings to the figure's gca method (_matplotlib.figure.Figure.gca_): ```cpp inline void gca(const std::string projection = "3d") ``` This allows display of multiple surfaces on the same figure. See...
Drawing an ellipse is a bit tricky with python, I was curious if this works here? Thanks
**System information (version)** OpenCV => 4.5.0 Operating System / Platform => Mac OS X 10.15.6 Environment => Jupyter Notebook C++14 Python => 3.8.6 Matplotlib version 3.3.2 **Detailed description** From "Add...
My first try failed because a numpy .h file couldn't be located: ``` g++ minimal.cpp -std=c++11 -I ~/anaconda3/include/python3.7m -L ~/anaconda3/lib -lpython3.7m In file included from minimal.cpp:1:0: matplotlibcpp.h:17:12: fatal error: numpy/arrayobject.h:...
Anyone implemented magnitude_spectrum and specgram for C++ ? I tried a quick hack, but get null from this: ```PyObject_GetAttrString(pymod, "magnitude_spectrum");```
Hello everybody. I use Windows Visual Code and I would like to draw curves on c ++ with matplotlib. The problem is that matplotlib-cpp only works with Visual Studio 2017....
Hello, in Xcode on mac os 10.15.6, I get the following error: 'cpython/initconfig.h' file not found I have Python 3.8 as well as 2.7 installed. Best, Adam