On Wed, Jun 27, 2007 at 11:40:39AM -0500, John Hunter wrote:
> On 6/27/07, Brian T.N. Gunney <[EMAIL PROTECTED]> wrote:
>
> ># Process key presses.
> >def on_key(event):
> >if event.key=='w':
> ># Close current window.
> ># How do we control which window gets
On 6/27/07, Brian T.N. Gunney <[EMAIL PROTECTED]> wrote:
> # Process key presses.
> def on_key(event):
> if event.key=='w':
> # Close current window.
> # How do we control which window gets closed?
> close()
The event has a canvas attribute,
On Wed, Jun 27, 2007 at 09:16:09AM -0500, John Hunter wrote:
> On 6/26/07, Brian T.N. Gunney <[EMAIL PROTECTED]> wrote:
> >I have a matplotlib script that generates several figures.
> >When a figure receives an event, how do I know which figure
> >it did it? For example, the key event 'w' is meant
On 6/26/07, Brian T.N. Gunney <[EMAIL PROTECTED]> wrote:
> I have a matplotlib script that generates several figures.
> When a figure receives an event, how do I know which figure
> it did it? For example, the key event 'w' is meant to close
> the figure, but so far, I have no way to control which
I have a matplotlib script that generates several figures.
When a figure receives an event, how do I know which figure
it did it? For example, the key event 'w' is meant to close
the figure, but so far, I have no way to control which figure
gets closed.
In the pick_event_demo.py example, each fig