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.

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to