From 00eafa90029a554c08510baebe107d495d4d3390 Mon Sep 17 00:00:00 2001 From: Neil Ling Date: Fri, 11 Jun 2021 10:55:44 +0800 Subject: [PATCH] fix too few arguments compilation error for detail::imshow with opencv enabled, expected 7 but have 6 --- matplotlibcpp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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