Revision: 5911 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5911&view=rev Author: jdh2358 Date: 2008-07-28 16:37:00 +0000 (Mon, 28 Jul 2008)
Log Message: ----------- fixed symlog locator transform bug sf id 2029141 Modified Paths: -------------- trunk/matplotlib/lib/matplotlib/ticker.py Modified: trunk/matplotlib/lib/matplotlib/ticker.py =================================================================== --- trunk/matplotlib/lib/matplotlib/ticker.py 2008-07-28 16:23:26 UTC (rev 5910) +++ trunk/matplotlib/lib/matplotlib/ticker.py 2008-07-28 16:37:00 UTC (rev 5911) @@ -1077,7 +1077,8 @@ b = self._transform.base vmin, vmax = self.axis.get_view_interval() - vmin, vmax = self._transform.transform_point((vmin, vmax)) + vmin, vmax = self._transform.transform((vmin, vmax)) + if vmax<vmin: vmin, vmax = vmax, vmin numdec = math.floor(vmax)-math.ceil(vmin) 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