Revision: 8295
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8295&view=rev
Author: leejjoon
Date: 2010-05-04 19:46:28 +0000 (Tue, 04 May 2010)
Log Message:
-----------
Axes.annotate sets _remove_method
Modified Paths:
--------------
trunk/matplotlib/lib/matplotlib/axes.py
Modified: trunk/matplotlib/lib/matplotlib/axes.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/axes.py 2010-05-04 17:53:33 UTC (rev
8294)
+++ trunk/matplotlib/lib/matplotlib/axes.py 2010-05-04 19:46:28 UTC (rev
8295)
@@ -3033,6 +3033,7 @@
self._set_artist_props(a)
if kwargs.has_key('clip_on'): a.set_clip_path(self.patch)
self.texts.append(a)
+ a._remove_method = lambda h: self.texts.remove(h)
return a
#### Lines and spans
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins