From: <lee...@us...> - 2009-10-05 02:05:27
|
Revision: 7844 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=7844&view=rev Author: leejjoon Date: 2009-10-05 02:05:16 +0000 (Mon, 05 Oct 2009) Log Message: ----------- image created by imshow support remove method Modified Paths: -------------- branches/v0_99_maint/lib/matplotlib/axes.py Modified: branches/v0_99_maint/lib/matplotlib/axes.py =================================================================== --- branches/v0_99_maint/lib/matplotlib/axes.py 2009-10-04 18:55:18 UTC (rev 7843) +++ branches/v0_99_maint/lib/matplotlib/axes.py 2009-10-05 02:05:16 UTC (rev 7844) @@ -6293,6 +6293,7 @@ if self._autoscaleYon: self.set_ylim((ymin, ymax)) self.images.append(im) + im._remove_method = lambda h: self.images.remove(h) return im imshow.__doc__ = cbook.dedent(imshow.__doc__) % martist.kwdocd This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |