From: Todd M. <jm...@st...> - 2004-04-28 19:56:49
|
On Wed, 2004-04-28 at 11:50, Darren Dale wrote: > I was thinking about the first example in the tutorial. On windows, TkAgg > is the default backend, at least for the precompiled windows version. If > Idle is run with -n, the show() command must be omitted, or the window will > not render. Not in my experience. What's the command sequence you're executing? > Interactive2.py will try to render the window and then hang, I think interactive2.py is for GTK. It's a bad idea to use it with TkAgg since TkAgg is Tcl/Tk based. > as will pycrust. I think PyCrust is WxWindows based. It's also a bad idea to use with TkAgg. In general, multiple GUIs in the same process is a bad idea. > I think the first thing a newbie to matplotlib wants to do is > open their favorite shell interface and make sure they can reproduce the > first example in the tutorial. I gotta admit, shell confusion/compatibility is out of hand. For TkAgg, the only windows shells I recommend are python (not pythonwin!), idle -n, and IPython. Anything else either doesn't work or hasn't been tested. Regards, Todd |