--- On Sat, 6/12/10, Eric Firing <efir...@hawaii.edu> wrote:
> > With TkAgg on Mac OS X, the first call to show()
> > blocks, and returns when all figures are closed by the user.
> > However, subsequent calls to show() return immediately.
> 
> This is anomalous, then; on linux, no call to show blocks
> with tkagg. 
> Puzzling difference.

If I remove the _needmain stuff in the show() function in the TkAgg backend, 
then each call to show() blocks on Mac OS X with the TkAgg backend, which (in 
my understanding) is the desired behavior. I don't know the purpose of 
_needmain in the show() function, other than to disallow multiple calls to 
show().

--Michiel.


      

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to