[IPython-dev] [IPython-User] ipython (0.10.1) -wthread and -pylab bug in ubuntu natty

Paul Ivanov pivanov314 at gmail.com
Wed May 25 14:41:28 EDT 2011

Thomas Kluyver, on 2011-05-25 19:06,  wrote:
> On 25 May 2011 18:30, Thomas Kluyver <takowl at gmail.com> wrote:
> > I'm not a heavy matplotlib user, in fact ;). I tried easy_installing a
> > newer version in the virtualenv, but it wasn't compiling for some reason.
> > I'll try it again.
> OK, I've got matplotlib 1.0.1 installed. Now if I specify backend : GTK, no
> window appears, even when I call show(). It works as expected with GTKAgg,
> but not with GTK.

odd. I get the same with -pylab, but not without it. Actually --
plt.figure() does make a window come up, but it doesn't render
anything on there.

With plain GTK backend, I get a window after show (I started with
just -gthread), but the call to show blocks. Hitting ctrl-c after that
returns me to the ipython prompt, and the figure appears to still
update when I resize it, so I'm not sure why the call to show
blocked, given that the threading seems to work.

Actually, the above behavior is what I see even if I just launch
ipython without -gthread -- it even works in just vanilla python
shell, so it must be using the internal matplotlib threading

Paul Ivanov
314 address only used for lists,  off-list direct email at:
http://pirsquared.org | GPG/PGP key id: 0x0F3E28F7 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20110525/3be3a646/attachment.sig>

More information about the IPython-dev mailing list