|
From: Benjamin R. <ben...@ou...> - 2011-02-08 03:30:44
|
On Mon, Feb 7, 2011 at 9:17 PM, Mike Kaufman <mc...@gm...> wrote: > On 2/7/11 9:28 PM, Eric Firing wrote: > > >>> Which backend are you using and using which OS? > >> > >> Good question. Snow Leopard and the MacOSX backend. If I use the Gtk > > > > This is a known bug in the MacOSX backend. > > > >> backend this bug does _not_ occur (though I have to use the plt.show() > >> command to bring up the window --- which hangs the shell...) > > > > It should simply block until the window is closed; is this what you mean? > > Yes I do, although I'm not sure why it should block: I may want to add > additional plots to the window --- though I do notice that if > isinteractive=True, then the window doesn't block. It makes sense I > guess, but not really intuitive, especially not coming from the > behaviour of the OSX backend. > > M > > The behavior in gtk and other backends is the designed/intended behavior. macosx backend is actually the odd-man out because it was coded to only work in one of those modes. Maybe we should emit a warning when macosx backend is used when interactive=False in order to dispel misunderstanding? Ben Root |