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 7386656 commit caeab2dCopy full SHA for caeab2d
README.md
@@ -38,10 +38,6 @@ Complete minimal example:
38
#include <memory>
39
#include <sstream>
40
41
-#define PY_MAJOR_VERSION 3
42
-#include "matplotlibcpp.h"
43
-#define plt matplotlibcpp
44
-
45
std::string to_strip(const std::string &str,
46
const std::string &whitespace = " \n\r\t\f\v") {
47
size_t from = str.find_first_not_of(whitespace);
@@ -92,6 +88,11 @@ int main() {
92
88
93
89
return 0;
94
90
}
91
+
+#define PY_MAJOR_VERSION 3
+#include "matplotlibcpp.h"
+#define plt matplotlibcpp
95
96
```
97
**source**: [minimal.cpp](https://github.com/SNSerHello/matplotlib-cpp/blob/master/examples/minimal.cpp)
98
0 commit comments