File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -853,7 +853,7 @@ def pos(self, val):
853
853
return sign * val
854
854
855
855
def unpos (self , val ):
856
- """The inverse of _pos ."""
856
+ """The inverse of pos ."""
857
857
sign , val = np .sign (val ), np .abs (val )
858
858
if val > self .linscale :
859
859
val = np .power (self .base , val - self .linscale )
@@ -865,7 +865,7 @@ def firstdec(self):
865
865
"""
866
866
Get the first decade (i.e. first positive major tick candidate).
867
867
It shall be at least half the width of a logarithmic decade from the
868
- origin (i.e. its _pos shall be at least 0.5).
868
+ origin (i.e. its pos shall be at least 0.5).
869
869
"""
870
870
firstexp = np .ceil (np .log (self .unpos (0.5 )) / np .log (self .base ))
871
871
firstpow = np .power (self .base , firstexp )
@@ -888,7 +888,7 @@ def dec(self, val):
888
888
return sign * val
889
889
890
890
def undec (self , val ):
891
- """The inverse of _dec ."""
891
+ """The inverse of dec ."""
892
892
firstexp , firstpow = self .firstdec ()
893
893
sign , val = np .sign (val ), np .abs (val )
894
894
if val > 1 :
You can’t perform that action at this time.
0 commit comments