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 mjldeh...@yahoo.com Actually which backend

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 antony@ensmp.fr wrote: That would be a solution, indeed.  However, is there really no way of coming back to a pre-plt.show() state

[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

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 antony@ensmp.fr 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

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 rma...@gmail.com On Tue, Apr 20, 2010 at 11:38 AM, Antony Lee

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 rma...@gmail.com On Tue, Apr 20, 2010 at 4:44 PM, Antony Lee antony@ensmp.fr 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

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

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 rma...@gmail.com wrote: Antony Lee antony@ensmp.fr 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

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

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

2010-04-20 Thread Michiel de Hoon
Well, the example with the comment WARNING : illustrating how NOT to use show: for i in range(10): # make figure i show() works perfectly fine with the Mac OS X backend, and I doubt that there is some fundamental reason why this can work with the Mac OS X backend but not with other