IDLE python shell freezes after running show() of matplotlib

Chris Colbert sccolbert at gmail.com
Wed Oct 28 23:09:34 CET 2009


This is a threading issue that is very common when using gui toolkits
with the interactive interpreter.

You're better off just using ipython, which already has builtin
support for matplotlib when you start it via "ipython -pylab"



On Wed, Oct 28, 2009 at 7:41 PM, OKB (not okblacke)
<brenNOSPAMbarn at nobrenspambarn.net> wrote:
> Forrest Sheng Bao wrote:
>
>> I am having a weird problem on IDLE. After I plot something using show
>> () of matplotlib, the python shell prompt in IDLE just freezes that I
>> cannot enter anything and there is no new ">>>" prompt show up. I
>> tried ctrl - C and it didn't work. I have to restart IDLE to use it
>> again.
>>
>> My system is Ubuntu Linux 9.04. I used apt-get to install IDLE.
>
>        I believe this is the intended behavior.  Look in matplotlib
> documentation on the difference between interactive and non-interactive
> modes.
>
> --
> --OKB (not okblacke)
> Brendan Barnwell
> "Do not follow where the path may lead.  Go, instead, where there is
> no path, and leave a trail."
>        --author unknown
> --
> http://mail.python.org/mailman/listinfo/python-list
>



More information about the Python-list mailing list