Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit de8bc4d

Browse files
committed
fixed symlog locator transform bug sf id 2029141
svn path=/trunk/matplotlib/; revision=5911
1 parent 86424bf commit de8bc4d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lib/matplotlib/ticker.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1077,7 +1077,8 @@ def __call__(self):
10771077
b = self._transform.base
10781078

10791079
vmin, vmax = self.axis.get_view_interval()
1080-
vmin, vmax = self._transform.transform_point((vmin, vmax))
1080+
vmin, vmax = self._transform.transform((vmin, vmax))
1081+
10811082
if vmax<vmin:
10821083
vmin, vmax = vmax, vmin
10831084
numdec = math.floor(vmax)-math.ceil(vmin)

0 commit comments

Comments
 (0)