You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If, for some reason, you're unable to get a working installation of numpy on your system,
202
-
you can add the define `WITHOUT_NUMPY` to erase this dependency.
202
+
you can define the macro `WITHOUT_NUMPY` before including the header file to erase this
203
+
dependency.
203
204
204
205
The C++-part of the library consists of the single header file `matplotlibcpp.h` which can be placed
205
206
anywhere.
206
207
207
-
Since a python interpreter is opened internally, it is necessary to link against `libpython2.7` in order to use
208
-
matplotlib-cpp.
209
-
210
-
You can download and install matplotlib-cpp using the [vcpkg](https://github.com/Microsoft/vcpkg) dependency manager:
211
-
212
-
git clone https://github.com/Microsoft/vcpkg.git
213
-
cd vcpkg
214
-
./bootstrap-vcpkg.sh
215
-
./vcpkg integrate install
216
-
vcpkg install matplotlib-cpp
217
-
218
-
The matplotlib-cpp port in vcpkg is kept up to date by Microsoft team members and community contributors. If the version is out of date, please [create an issue or pull request](https://github.com/Microsoft/vcpkg) on the vcpkg repository.
208
+
Since a python interpreter is opened internally, it is necessary to link against `libpython` in order
209
+
to user matplotlib-cpp. Most versions should work, although `libpython2.7` and `libpython3.6` are
You can download and install matplotlib-cpp using the [vcpkg](https://github.com/Microsoft/vcpkg) dependency manager:
242
+
243
+
git clone https://github.com/Microsoft/vcpkg.git
244
+
cd vcpkg
245
+
./bootstrap-vcpkg.sh
246
+
./vcpkg integrate install
247
+
vcpkg install matplotlib-cpp
248
+
249
+
The matplotlib-cpp port in vcpkg is kept up to date by Microsoft team members and community contributors. If the version is out of date, please [create an issue or pull request](https://github.com/Microsoft/vcpkg) on the vcpkg repository.
250
+
251
+
246
252
# C++11
247
253
248
254
Currently, c++11 is required to build matplotlib-cpp. The last working commit that did
0 commit comments