@@ -2930,20 +2930,21 @@ class AutoMinorLocator(Locator):
2930
2930
Place evenly spaced minor ticks, with the step size and maximum number of ticks
2931
2931
chosen automatically.
2932
2932
2933
- The Axis scale must be linear with evenly spaced major ticks .
2933
+ The Axis must use a linear scale and have evenly spaced major ticks.
2934
2934
"""
2935
2935
2936
2936
def __init__ (self , n = None ):
2937
2937
"""
2938
- *n* is the number of subdivisions of the interval between
2939
- major ticks; e.g., n=2 will place a single minor tick midway
2940
- between major ticks.
2941
-
2942
- If *n* is omitted or None, the value stored in rcParams will be used.
2943
- In case *n* is set to 'auto', it will be set to 4 or 5. If the distance
2944
- between the major ticks equals 1, 2.5, 5 or 10 it can be perfectly
2945
- divided in 5 equidistant sub-intervals with a length multiple of
2946
- 0.05. Otherwise it is divided in 4 sub-intervals.
2938
+ Parameters
2939
+ ----------
2940
+ n : int or 'auto', default: :rc:`xtick.minor.ndivs` or :rc:`ytick.minor.ndivs`
2941
+ The number of subdivisions of the interval between major ticks;
2942
+ e.g., n=2 will place a single minor tick midway between major ticks.
2943
+
2944
+ If *n* is 'auto', it will be set to 4 or 5: if the distance
2945
+ between the major ticks equals 1, 2.5, 5 or 10 it can be perfectly
2946
+ divided in 5 equidistant sub-intervals with a length multiple of
2947
+ 0.05; otherwise, it is divided in 4 sub-intervals.
2947
2948
"""
2948
2949
self .ndivs = n
2949
2950
0 commit comments