|
From: John H. <jdh...@ac...> - 2006-09-15 16:33:05
|
>>>>> "axel" == axel breuer <axe...@bn...> writes:
axel> Hi, I run python + pylab in Linux.
axel> When I type:
>>>> import pylab pylab.plot([1,2,3])
axel> A window pops up but nothing is drawn in it (!?!). So I
axel> type:
>>>> pylab.draw()
axel> The plot is then correctly drawn ( but I still do not see
axel> the lower buttons of the toolbar !?!)
axel> My problem is that I cannot close the plot window nor by
axel> clicking the "upper-right-cross" button of that wndow, nor
axel> by typing:
>>>> pylab.close()
axel> The window remains displayed...
You must uses a threaded python shell to use GTK* in interactive mode,
as described at http://matplotlib.sf.net/interactive.html
Recommended is
> ipython -pylab
or
> ipython -gthread
JDH
|