matplotlib-cpp icon indicating copy to clipboard operation
matplotlib-cpp copied to clipboard

Extremely simple yet powerful header-only C++ plotting library built on the popular matplotlib

Results 148 matplotlib-cpp issues
Sort by recently updated
recently updated
newest added

# Include error Firstly I met two errors, they are: ```shell ./../matplotlibcpp.h:5:10: fatal error: 'Python.h' file not found #include ^~~~~~~~~~ 1 error generated. ``` and ```shell ./../matplotlibcpp.h:20:12: fatal error: 'numpy/arrayobject.h'...

Hello, I'm using matplotlib-cpp to draw a heat map . I would like to ask, how should I add units or related comments to the color bar when I draw...

I ran all the examples provided and they all worked except for the surface plot example. I run my code on a Mac using Xcode. The error occurs when I...

This is about an attempt to install matplotlib-cpp.h onto a Mac. I have been looking for a solution, but have not yet found one. When installing this onto the Mac...

When I run the standard minimal example ``` #include "inc/matplotlibcpp.h" namespace plt = matplotlibcpp; int main() { plt::plot({1,3,2,4}); plt::show(); } ``` I receive a memory access error. Output: the plot...

I cloned the repo, made a build directory and made all of the examples. When trying to run them, however, certain ones worked and others didnt. The ones that simply...

targets for some examples were missing - going through them and seeing which ones were missing was a headache because they were not sorted by anything, so i also put...

The repository currently does not support CMake versions 3.8 to 3.12.4 because the FindPython3.cmake module was not added until 3.12.4 and the minimum CMake version for the project is set...

plt::plot(t3, p3); plt::subplot(2, 2, 1); plt::title("p-t"); plt::xlabel("t/ms"); plt::ylabel("p/Mpa"); plt::plot(t3, p3); plt::subplot(2, 2, 2); plt::title("p-t"); plt::xlabel("t/ms"); plt::ylabel("p/Mpa"); plt::plot(t3, p3); plt::subplot(2, 2, 3); plt::title("p-t"); plt::xlabel("t/ms"); plt::ylabel("p/Mpa"); plt::plot(t3, p3); plt::subplot(2, 2, 4); plt::title("p-t");...

I used the [polar plot demo](https://matplotlib.org/3.5.0/gallery/pie_and_polar_charts/polar_demo.html) as a reference, and therefore explicitly defined set_rmax and set_rticks despite them being 1 line different from ylim and yticks respectively. These can be...