From: John H. <jdh...@ac...> - 2005-01-11 21:26:44
|
>>>>> "Hans" == Hans Fangohr <H.F...@so...> writes: Hans> Hm. Done that. A figure window pops up immediately but is Hans> not being updated correctly: a part of the graph is visible, Hans> the other part of the figure (which was underneath another Hans> window initially) appears white. The titel of the figure Hans> says "Figure 1 (Not responding)". IDLE, however, responds Hans> happily ;-) T Todd, many moons ago you wrote me and said I had inadvertently screwed up something in tkagg show that broke the idle -n behavior. If I recall correctly, we never reverted, since I didn't understand exactly what to do. Perhaps you could revisit the current tkagg versus the old one to make sure it is right. Hans, does it make a difference if you uncomment #os.environ['PYTHONINSPECT'] = '1' in the show method of site-packages/matplotlib/backends/backend_tkagg.py? You should set 'interactive : True' as Todd suggested. Do not use show, as it is not designed for interactive use. I suggest carefully testing all 4 combinations: with and without the PYTHONINSPECTmline, and with and without -n. As you probably know, you'll need to restart idle after every change to the module source code, or at least reload the module if you know how to do that. Some bugs refuse to die. Let us know... Hans> I take it there is no more recent version of matplotlib for Hans> windows (and Python 2.3) than 0.70.1? That's the latest. Good luck! JDH |