matplotlib-cpp
matplotlib-cpp copied to clipboard
Minimal example throws exception
I am trying to run the minimal example like this:
#define WITHOUT_NUMPY
#include "matplotlibcpp.h"
namespace plt = matplotlibcpp;
int main() {
plt::plot({ 1,3,2,4 });
plt::show();
}
However, at execution, an error occurs:
This is very similar to an issue (#187) that was already closed a while ago and to which a solution is supposedly already live but the OP mentioned that that didn't actually fix the problem for them.
I'm running on Windows 10 Visual Studio 2019. 64-Bit target machine and Python 3.9
Hi, I made the project preferences like here https://github.com/lava/matplotlib-cpp/issues/277 It worked for me