Re: [Matplotlib-users] Closing a pyplot window under MSWindows and under Linux

2010-04-04 Thread Enzo Michelangeli
Alan G Isaac writes: > > On 4/3/2010 11:19 PM, Enzo Michelangeli wrote: > > multiple show() functionality is important for many users (see > > e.g. > > http://www.mail-archive.com/matplotlib-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f public.gmane.org/msg1309

Re: [Matplotlib-users] Closing a pyplot window under MSWind ows and under Linux

2010-04-03 Thread Enzo Michelangeli
OK, I found the answer myself. It appears that multiple calls to show() are at the moment officially unsupported, although they do work for some backends on some platforms (see e.g. http://matplotlib.sourceforge.net/faq/howto_faq.html#use-show ). In particular, I have found that: - With Qt4Agg th

[Matplotlib-users] Closing a pyplot window under MSWindows and under Linux

2010-04-03 Thread Enzo Michelangeli
Dear all, Consider the following short program: from matplotlib.pyplot import title, show for i in xrange(3): title(i+1) print "window No. "+str(i+1)+" was closed" show() If I run it under Windows XP, at each show() the program displays a window and blocks; if I close the window by c