From: Jae-Joon L. <lee...@gm...> - 2010-03-21 17:36:20
|
On Sat, Mar 20, 2010 at 8:40 PM, Eric Firing <ef...@ha...> wrote: > > Done in svn 8205. > Thanks! >> >> Or, how about we make axes an context manager. > > This would require dropping support for Python 2.4. I don't think making the Axes a context manager means dropping python 2.4 support (note that I'm not saying we use "with" statement in the mpl source). Everything should work fine in python 2.4 (please correct me if I'm wrong). It just gives a user a choice. If a user runs his/her script with python 2.5 and higher, he/she has an option to use an axes as an context manager. Of course, if he/she want his/her own code supported in python 2.4, he/she should not use "with" statement. Regards, -JJ |