Re: [Matplotlib-users] where did my plots go?

2012-06-20 Thread Ludwig Schwardt
Hi André, Have you tried to run your script from within IPython? That is, run ipython --pylab in your Terminal and %run your_script.py inside IPython. This always keeps the figures around for me, regardless of the presence of show(). Good luck, Ludwig

Re: [Matplotlib-users] where did my plots go?

2012-06-19 Thread Andre' Walker-Loud
Hi All, Sort of hijacking my own thread here. I posted another issue yesterday or the day before, and this has caused me to find some bigger problems... Most likely, there was a change to your matplotlibrc file. There is a setting in there for interactive and by default, it is set to

Re: [Matplotlib-users] where did my plots go?

2012-06-19 Thread Goyo
2012/6/19 Andre' Walker-Loud walksl...@gmail.com: But my plots still vanish as soon as the script is done : That's to be expected. You can make the script not to end until the user ask for it explicitly: raw_input('Press Enter when you are done') Goyo

Re: [Matplotlib-users] where did my plots go?

2012-06-19 Thread Andre' Walker-Loud
Hi Goyo, 2012/6/19 Andre' Walker-Loud walksl...@gmail.com: But my plots still vanish as soon as the script is done : That's to be expected. You can make the script not to end until the user ask for it explicitly: raw_input('Press Enter when you are done') If this is expected - it is a

Re: [Matplotlib-users] where did my plots go?

2012-06-19 Thread Benjamin Root
On Tue, Jun 19, 2012 at 2:40 PM, Andre' Walker-Loud walksl...@gmail.comwrote: Hi Goyo, 2012/6/19 Andre' Walker-Loud walksl...@gmail.com: But my plots still vanish as soon as the script is done : That's to be expected. You can make the script not to end until the user ask for it

Re: [Matplotlib-users] where did my plots go?

2012-06-19 Thread Andre' Walker-Loud
Hi Ben, On Jun 19, 2012, at 12:15 PM, Benjamin Root wrote: On Tue, Jun 19, 2012 at 2:40 PM, Andre' Walker-Loud walksl...@gmail.com wrote: Hi Goyo, 2012/6/19 Andre' Walker-Loud walksl...@gmail.com: But my plots still vanish as soon as the script is done : That's to be expected. You

Re: [Matplotlib-users] where did my plots go?

2012-06-19 Thread Andre' Walker-Loud
If this is expected - it is a new feature. My understanding was that changing interactive : True in the matplotlibrc file, then the plots would not vanish until explicitly closed by the user. Is my understanding incorrect? Thanks, Andre That is correct. If you have a

Re: [Matplotlib-users] where did my plots go?

2012-06-19 Thread Goyo
2012/6/19 Benjamin Root ben.r...@ou.edu: On Tue, Jun 19, 2012 at 2:40 PM, Andre' Walker-Loud walksl...@gmail.com wrote: Hi Goyo, 2012/6/19 Andre' Walker-Loud walksl...@gmail.com: But my plots still vanish as soon as the script is done : That's to be expected. You can make the script

Re: [Matplotlib-users] where did my plots go?

2012-06-19 Thread Andre' Walker-Loud
Hi Goyo, That is correct. If you have a call to show(), then the script should not finish on their own until the windows are closed -- regardless of whether or not interactive is True or False. The interactive setting should only dictate whether or not the script execution pauses or not at

[Matplotlib-users] where did my plots go?

2012-06-18 Thread Andre' Walker-Loud
Hi All, I have mac os x, 10.6.8, enthought distribution. I recently upgraded from the 6.2 to 7.3 EPD. Previously, I had a script which would manipulate some data, and as soon as the command plt.figure() was issued, the plot would show up. I could then continue along with the analysis (I

Re: [Matplotlib-users] where did my plots go?

2012-06-18 Thread Benjamin Root
On Mon, Jun 18, 2012 at 2:36 AM, Andre' Walker-Loud walksl...@gmail.comwrote: Hi All, I have mac os x, 10.6.8, enthought distribution. I recently upgraded from the 6.2 to 7.3 EPD. Previously, I had a script which would manipulate some data, and as soon as the command plt.figure() was

Re: [Matplotlib-users] where did my plots go?

2012-06-18 Thread Andre' Walker-Loud
Most likely, there was a change to your matplotlibrc file. There is a setting in there for interactive and by default, it is set to False. If you uncomment it and set it to True, you should get back the behavior you expected. You can also explicitly set the interactive mode to True from