--- On Tue, 4/20/10, Ryan May <[email protected]> wrote:
> Antony Lee <[email protected]> wrote:
> > That would be a solution, indeed. However, is there
> > really no way of coming back to a pre-plt.show() state
> > once all windows are closed? What kind of
> > irreversible things does plt.show() do?
>
> It starts the GUI toolkit event loop, which starts to make
> things messy if you try to call show() again. It often works,
> but calling show() more than once is most-definitely not
> supported.
>
But what exactly does show() do that prevents it from being called again? At
least for the Mac OS X and the gtkcairo backends, calling show() multiple times
doesn't seem to cause any problems. Can you give an example where calling
show() multiple times breaks things? If there is such a case, it may reveal a
lurking bug in show() itself.
--Michiel.
------------------------------------------------------------------------------
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users