From: <jd...@us...> - 2008-07-28 16:37:03
|
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. |