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
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
+
235
252
# C++11
236
253
237
254
Currently, c++11 is required to build matplotlib-cpp. The last working commit that did
@@ -256,10 +273,10 @@ The same technique can be used for linking against a custom build of python
256
273
257
274
Why?
258
275
----
259
-
I initially started this library during my diploma thesis. The usual approach of
276
+
I initially started this library during my diploma thesis. The usual approach of
260
277
writing data from the c++ algorithm to a file and afterwards parsing and plotting
261
278
it in python using matplotlib proved insufficient: Keeping the algorithm
262
-
and plotting code in sync requires a lot of effort when the C++ code frequently and substantially
279
+
and plotting code in sync requires a lot of effort when the C++ code frequently and substantially
263
280
changes. Additionally, the python yaml parser was not able to cope with files that
264
281
exceed a few hundred megabytes in size.
265
282
@@ -290,4 +307,4 @@ Todo/Issues/Wishlist
290
307
in "".'
291
308
292
309
* MacOS: `Unable to import matplotlib.pyplot`. Cause: In mac os image rendering back end of matplotlib (what-is-a-backend to render using the API of Cocoa by default). There is Qt4Agg and GTKAgg and as a back-end is not the default. Set the back end of macosx that is differ compare with other windows or linux os.
293
-
Solution is discribed[here](https://stackoverflow.com/questions/21784641/installation-issue-with-matplotlib-python?noredirect=1&lq=1), additional information can be found there too(see links in answers).
310
+
Solution is described[here](https://stackoverflow.com/questions/21784641/installation-issue-with-matplotlib-python?noredirect=1&lq=1), additional information can be found there too(see links in answers).
0 commit comments