@@ -1833,32 +1833,30 @@ class MaxNLocator(Locator):
1833
1833
1834
1834
def __init__ (self , * args , ** kwargs ):
1835
1835
"""
1836
- Keyword args:
1837
-
1838
- * nbins*
1836
+ Parameters
1837
+ ----------
1838
+ nbins : int or 'auto', optional, default: 10
1839
1839
Maximum number of intervals; one less than max number of
1840
1840
ticks. If the string `'auto'`, the number of bins will be
1841
1841
automatically determined based on the length of the axis.
1842
1842
1843
- * steps*
1843
+ steps: array-like, optional
1844
1844
Sequence of nice numbers starting with 1 and ending with 10;
1845
1845
e.g., [1, 2, 4, 5, 10], where the values are acceptable
1846
1846
tick multiples. i.e. for the example, 20, 40, 60 would be
1847
1847
an acceptable set of ticks, as would 0.4, 0.6, 0.8, because
1848
1848
they are multiples of 2. However, 30, 60, 90 would not
1849
1849
be allowed because 3 does not appear in the list of steps.
1850
1850
1851
- * integer*
1851
+ integer : bool, optional, default: False
1852
1852
If True, ticks will take only integer values, provided
1853
1853
at least `min_n_ticks` integers are found within the
1854
1854
view limits.
1855
1855
1856
- *symmetric*
1857
- If True, autoscaling will result in a range symmetric
1858
- about zero.
1856
+ symmetric : bool, optional, default: False
1857
+ If True, autoscaling will result in a range symmetric about zero.
1859
1858
1860
- *prune*
1861
- ['lower' | 'upper' | 'both' | None]
1859
+ prune : {'lower', 'upper', 'both', None}, optional, default: None
1862
1860
Remove edge ticks -- useful for stacked or ganged plots where
1863
1861
the upper tick of one axes overlaps with the lower tick of the
1864
1862
axes above it, primarily when :rc:`axes.autolimit_mode` is
@@ -1867,9 +1865,9 @@ def __init__(self, *args, **kwargs):
1867
1865
removed. If ``prune == 'both'``, the largest and smallest ticks
1868
1866
will be removed. If ``prune == None``, no ticks will be removed.
1869
1867
1870
- * min_n_ticks*
1871
- Relax ` nbins` and ` integer` constraints if necessary to
1872
- obtain this minimum number of ticks.
1868
+ min_n_ticks : int, optional, default: 2
1869
+ Relax * nbins* and * integer* constraints if necessary to obtain
1870
+ this minimum number of ticks.
1873
1871
1874
1872
"""
1875
1873
if args :
0 commit comments