From: Michael on
On Oct 28, 11:09 pm, Chris Colbert <sccolb...(a)gmail.com> wrote:
> 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)
>
>
>
> <brenNOSPAMb...(a)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

Same problem for me using IDLE 1.2.4, python 2.5.4, and matplotlib
0.99.1.1. Windows XP 32bit.

Turning on interactive mode solved the problem with IDLE freezing,
however the plot window still comes up empty and frozen.

Using iPython now with no problems so far. Hopefully the problem with
IDLE gets fixed.