Re: [Matplotlib-users] pyplot.show

2009-09-19 Thread Thomas Hrabe
Hi, thank you for the quick reply. Unfortunately, none of both works for me. values = [1,2,3]; pyplot.ioff(); #pyplot.ion(); print pyplot.isinteractive(); pyplot.plot(values); pyplot.show(); The value (True|False) of interactive mode does not make a difference to the plotting. Other sugge

Re: [Matplotlib-users] pyplot.show

2009-09-18 Thread Thomas Hrabe
starting with ipython -pylab solves it... thanks for the help! Thomas Hrabe wrote: > > Hi all, > > I am a beginner with matplotlib and doing my first steps with python > plotting. > However, I learned that pyplot.show really forces the display of already > existing plots. > > For instanc

Re: [Matplotlib-users] pyplot.show

2009-09-18 Thread sunqiang
oops, maybe use pyplot.ion() not pyplot.ioff(). and pyplot.show() is not needed. just pyplot.plot(values) is enough to launch a new figure window and you can continue plot new lines or legend... interactively. I test it on my pc: Windows XP, Python 2.5.4, Matplotlib 0.99.0. On Sat, Sep 19, 2009 a

Re: [Matplotlib-users] pyplot.show

2009-09-18 Thread Gökhan Sever
Running IPython with -pylab or specifying the threading option? See more at http://ipython.scipy.org/doc/stable/html/interactive/reference.html?highlight=pylab On Sat, Sep 19, 2009 at 12:42 AM, Thomas Hrabe wrote: > > Hi, > > thank you for the quick reply. Unfortunately, none of both works fo

Re: [Matplotlib-users] pyplot.show

2009-09-18 Thread Thomas Hrabe
Hi, thank you for the quick reply. Unfortunately, none of both works for me. values = [1,2,3]; pyplot.ioff(); #pyplot.ion(); print pyplot.isinteractive(); pyplot.plot(values); pyplot.show(); The value (True|False) of interactive mode does not make a difference to the plotting. Other su

Re: [Matplotlib-users] pyplot.show

2009-09-18 Thread sunqiang
may be you can try pyplot.ion()? it turns interactive mode on. Hope this helps. On Sat, Sep 19, 2009 at 1:11 PM, Thomas Hrabe wrote: > > Hi all, > > I am a beginner with matplotlib and doing my first steps with python > plotting. > However, I learned that pyplot.show really forces the display of

[Matplotlib-users] pyplot.show

2009-09-18 Thread Thomas Hrabe
Hi all, I am a beginner with matplotlib and doing my first steps with python plotting. However, I learned that pyplot.show really forces the display of already existing plots. For instance, when I type In[2]: pyplot.plot([1,2,3]) Out[2]: [] nothing happens until I type In[3]: pyplot.show()

Re: [Matplotlib-users] pyplot.show() without stopping script execution?

2009-06-30 Thread Alan G Isaac
On 6/30/2009 5:42 PM ms apparently wrote: > I am writing a script that uses pyplot.show() to show a plot, on which > the user has to ponder and decide a course of action (telling the script > what to do on a raw_input). This is not how `show` is used. But you could save the plot as a temporary fi

[Matplotlib-users] pyplot.show() without stopping script execution?

2009-06-30 Thread ms
Hi, I am writing a script that uses pyplot.show() to show a plot, on which the user has to ponder and decide a course of action (telling the script what to do on a raw_input). I would be happy if the pyplot window does not "freeze" python below, i.e. if the window can somehow exist while the pyth