From: Jae-Joon L. <lee...@gm...> - 2010-03-21 22:22:51
|
On Sun, Mar 21, 2010 at 6:07 PM, Eric Firing <ef...@ha...> wrote: > I think your version would need an additional try/except or conditional, > because a Figure doesn't necessarily have a canvas assigned to it, and a > canvas doesn't necessarily have a manager. Granted, the problem would arise > only under odd circumstances involving a mixture of pyplot and OO > styles--and maybe there is actually something that would prevent the problem > from arising at all--but I would want to be sure the problem either was > handled, or could not arise. So, I think my version ends up being simpler, > safer, and easier to understand--at least for me. > I see. Thanks! -JJ |