Revision: 5880
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5880&view=rev
Author: jdh2358
Date: 2008-07-25 23:52:46 +0000 (Fri, 25 Jul 2008)
Log Message:
-----------
added set_figure method for quiverkey
Modified Paths:
--------------
trunk/matplotlib/lib/matplotlib/quiver.py
Modified: trunk/matplotlib/lib/matplotlib/quiver.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/quiver.py 2008-07-25 23:45:01 UTC (rev
5879)
+++ trunk/matplotlib/lib/matplotlib/quiver.py 2008-07-25 23:52:46 UTC (rev
5880)
@@ -235,6 +235,7 @@
self._initialized = False
self.zorder = Q.zorder + 0.1
+
__init__.__doc__ = _quiverkey_doc
def _init(self):
@@ -294,6 +295,10 @@
raise ValueError('unrecognized coordinates')
quiverkey_doc = _quiverkey_doc
+ def set_figure(self, fig):
+ Artist.set_figure(self, fig)
+ self.text.set_figure(fig)
+
class Quiver(collections.PolyCollection):
"""
Specialized PolyCollection for arrows.
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins