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

Minimal example throws exception

Open Ilmu011 opened this issue 4 years ago • 1 comments

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:

error

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

Ilmu011 avatar Aug 03 '21 12:08 Ilmu011

Hi, I made the project preferences like here https://github.com/lava/matplotlib-cpp/issues/277 It worked for me

physolve avatar Aug 16 '21 15:08 physolve