From: <md...@us...> - 2008-06-27 18:53:16
|
Revision: 5694 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5694&view=rev Author: mdboom Date: 2008-06-27 11:53:11 -0700 (Fri, 27 Jun 2008) Log Message: ----------- Fix dashed text bug where text was at the wrong end of the dash (Thanks Andrea Gavana) Modified Paths: -------------- trunk/matplotlib/CHANGELOG trunk/matplotlib/lib/matplotlib/text.py Modified: trunk/matplotlib/CHANGELOG =================================================================== --- trunk/matplotlib/CHANGELOG 2008-06-27 15:42:44 UTC (rev 5693) +++ trunk/matplotlib/CHANGELOG 2008-06-27 18:53:11 UTC (rev 5694) @@ -1,3 +1,6 @@ +2008-06-27 Fix dashed text bug where text was at the wrong end of the + dash - MGD + 2008-06-26 Fix mathtext bug for expressions like $x_{\leftarrow}$ - MGD 2008-06-26 Fix direction of horizontal/vertical hatches - MGD Modified: trunk/matplotlib/lib/matplotlib/text.py =================================================================== --- trunk/matplotlib/lib/matplotlib/text.py 2008-06-27 15:42:44 UTC (rev 5693) +++ trunk/matplotlib/lib/matplotlib/text.py 2008-06-27 18:53:11 UTC (rev 5694) @@ -745,8 +745,8 @@ def get_position(self): "Return x, y as tuple" - x = float(self.convert_xunits(self._dashx)) - y = float(self.convert_yunits(self._dashy)) + x = float(self.convert_xunits(self._x)) + y = float(self.convert_yunits(self._y)) return x, y def get_prop_tup(self): This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |