Re: [Tutor] Closing a matplotlib window after show()

2010-02-09 Thread Wayne Watson
Form me the solution is getting into interactive mode, which I had never heard of until this morning. On 2/9/2010 9:04 AM, Wayne Watson wrote: Well, you are correct. Finally, my latest post to the MPL list caught the eye of John Hunter. I think he wrote MPL. The way out is interactive use. One

Re: [Tutor] Closing a matplotlib window after show()

2010-02-09 Thread Wayne Watson
Well, you are correct. Finally, my latest post to the MPL list caught the eye of John Hunter. I think he wrote MPL. The way out is interactive use. One problem I've had with Python packages they "seem" to based on some other product, which one is supposed to know. I sight Tkinter and now MPL

Re: [Tutor] Closing a matplotlib window after show()

2010-02-09 Thread zhengqing gan
was scrubbed... > URL: < > http://mail.python.org/pipermail/tutor/attachments/20100208/b19399fe/attachment-0001.htm > > > > -- > > Message: 3 > Date: Mon, 08 Feb 2010 21:53:39 -0800 > From: Wayne Watson > To: Eike Welk > Cc: tuto

Re: [Tutor] Closing a matplotlib window after show()

2010-02-08 Thread Wayne Watson
Hi, I'm not so sure that's true. I have a large 900 line program where some original plot code just continues beyond plot() and show(), after the user closes the plot window. New code that I put in gets knotted up, as far as I can tell. In both cases, I've put print statements after show(), but

Re: [Tutor] Closing a matplotlib window after show()

2010-02-08 Thread Eike Welk
Hello Wayne! On Monday February 8 2010 20:54:27 Wayne Watson wrote: > The basic problem is the show(). One person checked out the examples I > provided and found show() to operate fine. On my XP machine the program > I'm modifying has plot code someone put in a year or two ago, and it all > works

Re: [Tutor] Closing a matplotlib window after show()

2010-02-08 Thread Wayne Watson
When I installed matplotlib2.5 on my W7 machine last were a few error msgs about missing about missing files. Is that usual for matplotlib. BTW, I've posted details of my problem to the MPL list. Here I'm interested in the basic of install and use with IDLE, and not the details of the use of MP

[Tutor] Closing a matplotlib window after show()

2010-02-07 Thread Wayne Watson
The code below is a typical example of matplotlib use. I've used it both in xp and win7 in IDLE. It produces the required plos and stop with the plot display. If I close the plot window with the x in the upper right corner, the shell window is left open. I have to do the same to close it. If I