Re: [Matplotlib-users] Event handling for several windows

2006-07-18 Thread John Hunter
> "Tommy" == Tommy Grav <[EMAIL PROTECTED]> writes: Tommy> I have a program that uses matplotlib to plot two images. Tommy> figim24 = figure(figsize=(5,5)) figim70 = Tommy> figure(figsize=(5,5)) Tommy> I want an event loop that will be able to register which of Tommy> the

[Matplotlib-users] Event handling for several windows

2006-07-17 Thread Tommy Grav
I have a program that uses matplotlib to plot two images. figim24 = figure(figsize=(5,5)) figim70 = figure(figsize=(5,5)) I want an event loop that will be able to register which of the two figures I mouse click in. When I only had one figure I used figim24.canvas.mpl_connect("button_press_event