|
From: <jd...@us...> - 2008-06-28 13:50:51
|
Revision: 5697
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5697&view=rev
Author: jdh2358
Date: 2008-06-28 06:50:45 -0700 (Sat, 28 Jun 2008)
Log Message:
-----------
reverting text with dash fixes; see post on mailing list
Modified Paths:
--------------
trunk/matplotlib/lib/matplotlib/text.py
Modified: trunk/matplotlib/lib/matplotlib/text.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/text.py 2008-06-28 01:10:58 UTC (rev 5696)
+++ trunk/matplotlib/lib/matplotlib/text.py 2008-06-28 13:50:45 UTC (rev 5697)
@@ -745,8 +745,8 @@
def get_position(self):
"Return x, y as tuple"
- x = float(self.convert_xunits(self._x))
- y = float(self.convert_yunits(self._y))
+ x = float(self.convert_xunits(self._dashx))
+ y = float(self.convert_yunits(self._dashy))
return x, y
def get_prop_tup(self):
@@ -939,8 +939,7 @@
ACCEPTS: float
"""
- self._x = float(x)
- self._dashx = self._x
+ self._dashx = float(x)
def set_y(self, y):
"""
@@ -948,8 +947,7 @@
ACCEPTS: float
"""
- self._y = float(y)
- self._dashy = self._y
+ self._dashy = float(y)
def set_transform(self, t):
"""
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|