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.
精彩评论