开发者

How to add a button to matplotlib.pylab.imshow() dialog?

I want to do additional operations on the image displayed by matplotlib.pyplot.imshow() method.

For Example: I want an extra butt开发者_开发问答on "Display ROI" where it displays the ROI of the co-ordinates I have selected in the image in my preferred format.

Is this possible?


There is a widgets module in matplotlib that can give you that functionality. Check out the widgets examples page.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜