Re: [Matplotlib-users] show() at the end of each function of an ensemble of scripts

2010-05-03 Thread Antony Lee
I'm using wxagg, but actually it's working now... I put show()s a bit everywhere in my code so I must confess I don't really know how it's working, though I'll probably have to go back and clean the mess at some point. Antony 2010/4/22 Michiel de Hoon > Actually which backend are you using? I'd

Re: [Matplotlib-users] show() at the end of each function of an ensemble of scripts

2010-04-22 Thread Michiel de Hoon
Actually which backend are you using? I'd like to try this to see what happens if show() is called more than once. --Michiel. --- On Tue, 4/20/10, Antony Lee 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

Re: [Matplotlib-users] show() at the end of each function of an ensemble of scripts

2010-04-20 Thread Michiel de Hoon
ith other backends. --Michiel --- On Tue, 4/20/10, Alan G Isaac wrote: > From: Alan G Isaac > Subject: Re: [Matplotlib-users] show() at the end of each function of an > ensemble of scripts > To: matplotlib-users@lists.sourceforge.net > Date: Tuesday, April

Re: [Matplotlib-users] show() at the end of each function of an ensemble of scripts

2010-04-20 Thread Alan G Isaac
http://matplotlib.sourceforge.net/faq/howto_faq.html#use-show hth, Alan Isaac -- ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourcefo

Re: [Matplotlib-users] show() at the end of each function of an ensemble of scripts

2010-04-20 Thread Michiel de Hoon
--- On Tue, 4/20/10, Ryan May wrote: > Antony Lee 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 ev

Re: [Matplotlib-users] show() at the end of each function of an ensemble of scripts

2010-04-20 Thread Christopher Barker
Antony Lee wrote: > Well, the problem isn't there (I believe). The workflow I'd like to > implement is that, for example the user does some data processing (in > ipython), plots some data (I need a show() here), closes the plot > window, does some other data processing (in ipython), I'm bit co

Re: [Matplotlib-users] show() at the end of each function of an ensemble of scripts

2010-04-20 Thread Antony Lee
2010/4/20 Ryan May > On Tue, Apr 20, 2010 at 4:44 PM, Antony Lee 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 G

Re: [Matplotlib-users] show() at the end of each function of an ensemble of scripts

2010-04-20 Thread Ryan May
On Tue, Apr 20, 2010 at 4:44 PM, Antony Lee 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 start

Re: [Matplotlib-users] show() at the end of each function of an ensemble of scripts

2010-04-20 Thread Antony Lee
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? Thanks, Antony 2010/4/20 Ryan May > On Tue, Apr 20, 2010 at 11:38 AM, Antony Lee wrote: > > Hello, > > >

Re: [Matplotlib-users] show() at the end of each function of an ensemble of scripts

2010-04-20 Thread Ryan May
On Tue, Apr 20, 2010 at 11:38 AM, Antony Lee wrote: > Hello, > > I'm currently writing a specialized image processing package using > Matplotlib. The goal would be to let users use it interactively from an > ipython console. > So I have some functions for selecting points on plots (via > "button_p

[Matplotlib-users] show() at the end of each function of an ensemble of scripts

2010-04-20 Thread Antony Lee
Hello, I'm currently writing a specialized image processing package using Matplotlib. The goal would be to let users use it interactively from an ipython console. So I have some functions for selecting points on plots (via "button_press_event"), and others for data plotting (and also for data proc