From: John H. <jdh...@ac...> - 2004-09-07 20:50:34
|
I got an answer from Robin Dunn on the wxpython list about the stderr/stdout bug that was breaking ipython -pylab with the wx* matplotlib backends. It turns out that the defaults for output redirection are different on the different platforms, which explains why it worked on linux but not win32 or OSX. All you need to do is pass redirect=False to the wxapp constructor. Eg, on or around line in 498 IPython/Shell.py v0.6.3 self.app = App(redirect=False) Confirmed to fix both OSX and win32 for wx*. Now I think the summary is linux win32 OSX GTK* : good ugly works except for shell close bug WX* : good good good TK* : good good good Cool. If only all bugs were so easy. JDH |