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 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-tp25518658p25519154.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

Reply via email to