Re: [matplotlib-devel] Close events

2010-04-16 Thread Ryan May
I went ahead an implemented the close events. These work for me on the following backends that I was able to test: TkAgg, Wx/WxAgg, Qt4Agg, Gtk/GtkAgg. I can't test Cocoa or PyQt3, so I didn't implement. All that is needed is to add a call (preferably on a FigureCanvasBase subclass) that calls the

[matplotlib-devel] Close events

2010-04-15 Thread Ryan May
Hi, Does anyone know if there's a matplotlib event that fires when a figure window is closed? I can't seem to find one. If there's not one, any I shouldn't add one? I need to stop my animation timers when the figure is closed. Ryan -- Ryan May Graduate Research Assistant School of Meteorology