@@ -1741,6 +1741,7 @@ class IndexLocator(Locator):
17411741 IndexLocator assumes index plotting; i.e., that the ticks are placed at integer
17421742 values in the range between 0 and len(data) inclusive.
17431743 """
1744+
17441745 def __init__ (self , base , offset ):
17451746 """Place ticks every *base* data point, starting at *offset*."""
17461747 self ._base = base
@@ -1793,9 +1794,7 @@ def tick_values(self, vmin, vmax):
17931794
17941795 .. note::
17951796
1796- Because the values are fixed, vmin and vmax are not used in this
1797- method.
1798-
1797+ Because the values are fixed, *vmin* and *vmax* are not used.
17991798 """
18001799 if self .nbins is None :
18011800 return self .locs
@@ -1810,7 +1809,7 @@ def tick_values(self, vmin, vmax):
18101809
18111810class NullLocator (Locator ):
18121811 """
1813- No ticks
1812+ Place no ticks.
18141813 """
18151814
18161815 def __call__ (self ):
@@ -1822,8 +1821,7 @@ def tick_values(self, vmin, vmax):
18221821
18231822 .. note::
18241823
1825- Because the values are Null, vmin and vmax are not used in this
1826- method.
1824+ Because there are no ticks, *vmin* and *vmax* are not used.
18271825 """
18281826 return []
18291827
@@ -1832,12 +1830,11 @@ class LinearLocator(Locator):
18321830 """
18331831 Place ticks at evenly spaced values.
18341832
1835- The first time this function is called it will try to set the
1836- number of ticks to make a nice tick partitioning. Thereafter, the
1837- number of ticks will be fixed so that interactive navigation will
1838- be nice
1839-
1833+ The first time this function is called, it will try to set the number of
1834+ ticks to make a nice tick partitioning. Thereafter, the number of ticks
1835+ will be fixed to avoid jumping during interactive navigation.
18401836 """
1837+
18411838 def __init__ (self , numticks = None , presets = None ):
18421839 """
18431840 Parameters
@@ -1997,6 +1994,7 @@ class _Edge_integer:
19971994 Take floating-point precision limitations into account when calculating
19981995 tick locations as integer multiples of a step.
19991996 """
1997+
20001998 def __init__ (self , step , offset ):
20011999 """
20022000 Parameters
0 commit comments