On Sun, Feb 14, 2010 at 3:34 PM, David Arnold <dwarnol...@suddenlink.net> wrote:
> line, =ax.plot([0], [0])
> plt.show()
> linebuilder=LineBuilder(line)
>
> However, if I put the plt.show() on the last line, it works. Can anyone 
> explain?

plt.show is meant to raise all GUI windows and start the mainloop.
For many user interface toolkits it is a blocking call.  The only
supported use is as the last line of your script.

JDH

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to