Re: [Matplotlib-users] Redisplay a figure after it was closed

2010-07-13 Thread Benjamin Root
Pellegrini, Sorry for the delay. The answer is that, unfortunately, it is not possible to reshow a figure after closing it, even if you still have the figure object. Because of GUI backends, the close action destroys some GUI objects that were created when the figure was created. Therefore, a

[Matplotlib-users] Redisplay a figure after it was closed

2010-07-11 Thread Pellegrini Eric
Hello everybody, My question is in the title ! Say that I have the following code: f = pylab.figure() f.plot([1,2,3,4,5]) pylab.show() and that, once I destroyed the figure by clicking on the top-right corner red button, I would like to redisplay it in the state it was just before I closed