Registry / other / matplotlib-cpp

matplotlib-cpp

JSON →
library2020-08-27vcpkgunverified

Extremely simple yet powerful header-only C++ plotting library built on the popular matplotlib.

vcpkg install matplotlib-cpp
INSTALL
IMPORT
SIG · MATPLOTLIB-CPP
M
matplotlib-cpp
othercppv2020-08-27
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

matplotlibcpp.h
#include <matplotlibcpp.h>

Plot a simple line graph.

#include <matplotlibcpp.h> #include <vector> namespace plt = matplotlibcpp; int main() { std::vector<double> x = {1, 2, 3, 4}; std::vector<double> y = {1, 4, 9, 16}; plt::plot(x, y); plt::show(); return 0; }
Debug
Known issues
gotchamatplotlib-cpp requires Python and matplotlib installed on the system, and the Python development headers.
fix
Install Python, matplotlib, and ensure Python headers are available (e.g., python3-dev on Linux).
affects: *
Upgrade
Version history
2020-08-27latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources

No resource links recorded.

matplotlib-cpp — pip install matplotlib-cpp · libregistry