From: Bartosz T. <b.t...@bi...> - 2011-02-13 22:17:00
|
Hi, I am writting an application in which I update dynamically the state of the figures. When I am done I call the Figure.canvas.draw function to redraw the figure. However, when the window was previously closed by the user the update can be skipped. Is there a way to tell from a figure handle if the figure is shown on screen or not? Currently, I solve this problem with a callback which sets the figure handle to None on figure close event. However, I guess there might be a more direct way of doing that. What would you suggest? Thanks a lot for your help. Bartosz |