lava / matplotlib-cpp

Extremely simple yet powerful header-only C++ plotting library built on the popular matplotlib
MIT License
4.28k stars 1.12k forks source link

Add `imshow` support for `double` data type #296

Open subratappt opened 2 years ago

subratappt commented 2 years ago

Add imshow support for double data type.

namespace plt = matplotlibcpp;
.
.
std::vector<double> A(264*264);
.
.
plt::imshow(A.data(),264,264,1);