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
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
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
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
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
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
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()
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
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