From: John H. <jdh...@ac...> - 2004-04-28 20:07:33
|
>>>>> "Darren" == Darren Dale <dd...@co...> writes: Darren> I was thinking about the first example in the tutorial. On Darren> windows, TkAgg is the default backend, at least for the Darren> precompiled windows version. If Idle is run with -n, the Darren> show() command must be omitted, or the window will not Darren> render. Interactive2.py will try to render the window and Darren> then hang, as will pycrust. I think the first thing a Darren> newbie to matplotlib wants to do is open their favorite Darren> shell interface and make sure they can reproduce the first Darren> example in the tutorial. Hi Darren, This is a problem. It may be time to look into Pearu Peterson's gui_thread which was developed for chaco but is easily decoupled from scipy. It would be nice if the various backends played nicely with the various IDEs. (One for the priorities list, Perry?) In the meantime, I've added this warning to the win32 section of the installing page Important: There are known conflicts with some of the backends with some python IDEs such as pycrust, idle. If you want to use matplotlib from an IDE, please consult the backends documentaion for compatibility information. You will have the greatest likelihood of success if you run the examples from the command shell or by double clicking on them, rather than from an IDE. If you are interactively generating plots, your best bet is TkAgg from the standard python shell. JDH |