Solved - just discovered methods ion() and ioff() which do the job. JonBL wrote: > > I have a Python program which calls matplotlib's show() method to display > a plot, but control does not return to my program until I close the > displayed figure. I want control to immediately return to my program so > that I can display additional figures as well. > > The doco (matplotlib 1.1.1) for the show() method mentions an experimental > key word arg named 'block', that can be set to True or False. This looks > promising, but plt.show(block = False) raises type error "got an > unexpected keyword argument 'block'". A call to plt.show() works fine. The > method appears to accept no arguments. > > Can anyone suggest how to bypass the blocking behaviour of the show() > method? > > TIA, > Jon >
-- View this message in context: http://old.nabble.com/How-to-Turn-Off-Blocking-by-Method-show%28%29-tp34188043p34188078.html Sent from the matplotlib - users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users