[IPython-dev] Detecting GUI mainloop running in IPython
Sun Jul 25 16:35:18 CDT 2010
On Sun, Jul 25, 2010 at 2:32 PM, Gael Varoquaux <
> On Sun, Jul 25, 2010 at 11:16:48AM -1000, Eric Firing wrote:
> > 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 Eric. mlab's show was not derived from any matplotlib code. None
> the less, I had a quite look at SVN matplotlib to figure out how it was
> It seems to me that it is done in 'backend_bases.py', line 81, by
> checking if IPython added a special attribute to the ShowBase instance.
> Thus, it seems to rely on a collaboration between IPython and matplotlib.
I am not sure, but I wouldn't be surprised.
> Can anyone confirm or infirm?
> IPython-dev mailing list
Brian E. Granger, Ph.D.
Assistant Professor of Physics
Cal Poly State University, San Luis Obispo
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the IPython-dev