From: Pellegrini E. <eri...@ya...> - 2010-07-29 17:18:59
|
Hello everybody, I would like to call a function when I close manually a window previously opened by a pylab.figure. I tried the following: f = pylab.figure() f.canvas.mpl_connect('close_event',my_function) but it fails because the 'close_event' is not recognized as a valid event (button_press_event, axis_leave_event ...). Would you have any idea ? thank you very much regards Eric Pellegrini |