[IPython-dev] mayavi with ipython
Fernando Perez
fperez.net at gmail.com
Sat Sep 10 19:27:35 EDT 2011
On Sat, Sep 10, 2011 at 3:45 PM, Gael Varoquaux
<gael.varoquaux at normalesup.org> wrote:
> It used to be possible to write fool-proof code so that show would not
> block under IPython. This was very useful to make code that would work
> out of the box for users. Is this no longer possible?
Now that we're not using threads for handling the GUI event loops,
show() does indeed block, at least the ubuntu-provided version I have
on my box. So it's possible that some tweaks are needed on the mayavi
side to make show() non-blocking without the need for user
intervention. I know it's possible because matplotlib from current
master indeed works without blocking. It will be a matter of checking
just what mpl is doing to avoid show() blocking and using the same
idea in mayavi, I imagine.
Cheers,
f
More information about the IPython-dev
mailing list