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 <thr...@gmail.com> wrote:

>
> 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 suggestionst?
>
> Thanks so far!
>
>
> >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 <thr...@gmail.com> 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 instance, when I type
> > In[2]: pyplot.plot([1,2,3])
> > Out[2]: [<matplotlib.lines.Line2D object at 0x2e33850>]
> >
> > nothing happens until I type
> >
> > In[3]: pyplot.show()
> >
> > After that, the interpreter halts until I close the new figure window.
> > Only
> > closing enables the interpreter to continue with my later input.
> Moreover,
> > typing
> > In[4]: pyplot.plot([1,2,3])
> >
> > again would display the figure immediately. Seems the gtk engine or
> > something else must be started up by pyplot.show once and, once running,
> > it
> > displays everything else after that instantly.
> > How can I tweak pyplot in such way that it would display my figures on
> the
> > very first pyplot.plot call without halting the input?
> >
> > Thank you in advance for your help,
> > Thomas
> >
> > --
> > View this message in context:
> > http://www.nabble.com/pyplot.show-tp25518658p25518658.html
> > Sent from the matplotlib - users mailing list archive at Nabble.com.
> >
> >
> >
> >
> ------------------------------------------------------------------------------
> > Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
> > is the only developer event you need to attend this year. Jumpstart your
> > developing skills, take BlackBerry mobile applications to market and stay
> > ahead of the curve. Join us from November 9&#45;12, 2009. Register
> > now&#33;
> > http://p.sf.net/sfu/devconf
> > _______________________________________________
> > Matplotlib-users mailing list
> > Matplotlib-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/matplotlib-users
> >
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
> http://p.sf.net/sfu/devconf
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>
>
> --
> View this message in context:
> http://www.nabble.com/pyplot.show-tp25518658p25518780.html
> Sent from the matplotlib - users mailing list archive at Nabble.com.
>
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
> http://p.sf.net/sfu/devconf
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>



-- 
Gökhan
------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to