On Fri, Jul 18, 2008 at 2:04 AM, Gael Varoquaux <[EMAIL PROTECTED]> wrote: > On Fri, Jul 18, 2008 at 07:36:03AM +0200, Gael Varoquaux wrote: >> On Thu, Jul 17, 2008 at 08:55:59AM -0500, John Hunter wrote: >> > I think we could do a 0.98.3 release. > >> I am right now implementing a wx frontend to ipython, and I can see in >> the near future a score of people complaining that "from pylab import *; >> show()" crashes it because it calls the wrong backend. Do people mind if >> I prepare a patch that does some magic as pylab is loaded to: >> a) Look if 'wx' is in sys.module >> b) Check if the wx mainloop is running, > >> and if so changes the backend automatically to wx and wxAgg.
ipython Shell.py already hacks wx, gtk, and tk to make sure mpl's mainloop is not going to cause any problems (eg IPython.Shell.hijack_wx). Is there something about the new ipython wx frontend design that requires a different solution for mpl? I'm happy to hold the release until we get this sorted out, but before I review the patch maybe you can let me know what if anything is different about the new ipython design that requires changes in mpl because I haven't followed the ipython redesign closely enough. JDH ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel