From: <jr...@us...> - 2007-07-16 22:19:27
|
Revision: 3546 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=3546&view=rev Author: jrevans Date: 2007-07-16 15:19:24 -0700 (Mon, 16 Jul 2007) Log Message: ----------- Changed what appeared to be a typo where x-axis values were being converted using the y-axis unit converters. Modified Paths: -------------- trunk/matplotlib/lib/matplotlib/axes.py Modified: trunk/matplotlib/lib/matplotlib/axes.py =================================================================== --- trunk/matplotlib/lib/matplotlib/axes.py 2007-07-16 19:40:34 UTC (rev 3545) +++ trunk/matplotlib/lib/matplotlib/axes.py 2007-07-16 22:19:24 UTC (rev 3546) @@ -1507,7 +1507,7 @@ if xmin is not None: xmin = self.convert_xunits(xmin) if xmax is not None: - xmax = self.convert_yunits(xmax) + xmax = self.convert_xunits(xmax) old_xmin,old_xmax = self.get_xlim() if xmin is None: xmin = old_xmin This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |