[IPython-dev] Strange %matplotlib qt behavior OS X 10.9

James Booth jabooth at gmail.com
Sun Feb 2 10:44:49 EST 2014


Hi guys,

I'm seeing strange behaviour with the %matplotlib qt magic on OS X 10.9
when using Mayavi.

Basically, on creation of a notebook (with only `ipython notebook` being
run, no pylab/gui mode set), running a cell like this:

%matplotlib qt
... import + do work with mayavi

Causes the kernel to hang, whereas

%matplotlib qt  # returns fine
-- NEW CELL --
... import + do work with mayavi  # returns fine

works as expected.

I've exemplified it in a notebook, with additional details:
http://nbviewer.ipython.org/gist/jabooth/8770104

Any ideas what might be causing this? I thought App Nap might be an issue,
but I see a fix has already been issued for this:
https://github.com/ipython/ipython/pull/4453

Note I am running off a recent master.

Best wishes
James
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20140202/69e1b1fd/attachment.html>


More information about the IPython-dev mailing list