[IPython-dev] Detecting GUI mainloop running in IPython
Sun Jul 25 16:16:48 CDT 2010
On 07/25/2010 11:12 AM, Gael Varoquaux wrote:
> On Sun, Jul 25, 2010 at 02:05:07PM -0700, Brian Granger wrote:
>> Is there any way to find out if the GUI event loop is running through
>> the input hook at all?
>> from IPython.lib import inputhook
> OK, but that's IPython-specific. It's an option for Mayavi, though.
>> Great. �I think we will need to wait until we have done the GUI
>> integration for the kernel/frontend before finalizing things, because
>> there, the GUI integration will be quite different.
> Indeed. I guess that in the meantime I'll just do nothing, and if people
> want to work with IPython 0.11, they should avoid calling mlab.show().
I haven't looked at mlab.show(), but if it is derived from earlier
matplotlib show(), then you might want to take a look at how show() is
now implemented in mpl. It works well with ipython 0.10 and 0.11.
> Thanks for your advice.
> IPython-dev mailing list
More information about the IPython-dev