System information (version)
OpenCV => 4.5.0
Operating System / Platform => Mac OS X 10.15.6
Environment => Jupyter Notebook C++14
Python => 3.8.6
Matplotlib version 3.3.2
Detailed description
From "Add support for imshow() #79", I downloaded the matplotlibcpp.h and try to run imshow.cpp (downloaded from alexdewar/matplotlib-cpp) with jupyter notebook. However, I still get the following error:
input_line_10:13:6: error: no member named 'imshow' in namespace 'matplotlibcpp'
plt::imshow(zptr, nrows, ncols, colors);
~~~~~^
Other matplotlibcpp functions such as plt::plot and plt::quiver work, but plt::imshow. I appreciate if any experts can advise me how to solve this issue, thanks a lot!!
System information (version) OpenCV => 4.5.0 Operating System / Platform => Mac OS X 10.15.6 Environment => Jupyter Notebook C++14 Python => 3.8.6 Matplotlib version 3.3.2
Detailed description From "Add support for imshow() #79", I downloaded the
matplotlibcpp.h
and try to runimshow.cpp
(downloaded from alexdewar/matplotlib-cpp) with jupyter notebook. However, I still get the following error:My jupyter file is:
My
includeLibraries.h
is:Other matplotlibcpp functions such as
plt::plot
andplt::quiver
work, butplt::imshow
. I appreciate if any experts can advise me how to solve this issue, thanks a lot!!