Maybe instead of plot.show() you should do something like:

plot.draw()
raw_input('Press ENTER to exit')

Personally, I also use IDLE on Windows XP to edit my matplotlib files.  
However, I never execute in IDLE.  I simply double click the file in windows 
explorer.

-Ben

-----Original Message-----
From: Wayne Watson [mailto:[email protected]] 
Sent: Tuesday, February 09, 2010 11:07 AM
To: [email protected]
Subject: [Matplotlib-users] Verifying the Use of show()? Win XP

I'm sure not making much progress on understanding show(). When used in XP in 
IDLE or by file execution (click on file name), it seems to tie up the 
executing program.  In IDLE, the shell window stops and one must exit the 
window.

I'd appreciate it if someone could take any examples from 
<http://matplotlib.sourceforge.net/index.html> and try to execute them as in 
the first paragraph to see if they terminate successfully.Let me know what OS 
used, hopefully XP, and if you used IDLE or file execution. 
I suspect you will find every example there ends with show(). Try putting a 
print statement after show() you've done it with the show() the last line.
--
"Crime is way down. War is declining. And that's far from the good news." -- 
Steven Pinker (and other sources) Why is this true, but yet the media says 
otherwise? The media knows very well how to manipulate us (see limbic, emotion, 
$$). -- WTW

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation Stay 
online with enterprise data centers and the best network in the business Choose 
flexible plans and management services without long-term contracts Personal 
24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to