Several windows and events

I am using matplotlib to display an image, then click on the image to get the x,y center of

an object in that image. Using this x,y position I would like to display a zoomed in version

of the image in another window. I am however confused on how to generate the second

window and how to deal with the fact that I now want the button click in window 2 to another

event function.




"Any intelligent fool can make things bigger,

more complex, and more violent. It takes a

touch of genius – and a lot of courage –

to move in the opposite direction"

– Albert Einstein