diff --git a/matplotlibcpp.h b/matplotlibcpp.h index d95d46a..2a867ce 100644 --- a/matplotlibcpp.h +++ b/matplotlibcpp.h @@ -984,7 +984,7 @@ void imshow(const cv::Mat &image, const std::map &keyw cv::cvtColor(image2, image2, CV_BGRA2RGBA); } - detail::imshow(image2.data, npy_type, image2.rows, image2.cols, image2.channels(), keywords); + detail::imshow(image2.data, npy_type, image2.rows, image2.cols, image2.channels(), keywords, nullptr); } #endif // WITH_OPENCV #endif // WITHOUT_NUMPY