MatplotlibDeprecationWarning: Support for FigureCanvases without a required_interactive_framework at
我使用的pychorm运行的opencv代码在运行时报了以上的错误,加上plt.show()就可以了。
·
MatplotlibDeprecationWarning: Support for FigureCanvases without a required_interactive_framework attribute was deprecated in Matplotlib 3.6 and will be removed two minor releases later.
plt.hist(gray.ravel(),bins=256,range=[0,255])
我使用的pychorm运行的opencv代码在运行时报了以上的错误,加上plt.show()就可以了
plt.hist(gray.ravel(),bins=256,range=[0,255])
plt.show()
更多推荐
已为社区贡献1条内容
所有评论(0)