Revision: 5865
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5865&view=rev
Author:   efiring
Date:     2008-07-25 03:55:16 +0000 (Fri, 25 Jul 2008)

Log Message:
-----------
Fix quiverkey with coordinates="inches".

Modified Paths:
--------------
    trunk/matplotlib/lib/matplotlib/quiver.py

Modified: trunk/matplotlib/lib/matplotlib/quiver.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/quiver.py   2008-07-25 03:53:18 UTC (rev 
5864)
+++ trunk/matplotlib/lib/matplotlib/quiver.py   2008-07-25 03:55:16 UTC (rev 
5865)
@@ -289,10 +289,7 @@
         elif self.coord == 'figure':
             self.set_transform(self.Q.ax.figure.transFigure)
         elif self.coord == 'inches':
-            dx = ax.figure.dpi
-            bb = transforms.Bbox.from_extents(0, 0, dx, dy)
-            trans = transforms.BboxTransformTo(bb)
-            self.set_transform(trans)
+            self.set_transform(self.Q.ax.figure.dpi_scale_trans)
         else:
             raise ValueError('unrecognized coordinates')
     quiverkey_doc = _quiverkey_doc


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
Matplotlib-checkins@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to