Skip to content

Commit e64f5eb

Browse files
committed
Precommit fix
1 parent 44c1dd4 commit e64f5eb

1 file changed

Lines changed: 9 additions & 8 deletions

File tree

lib/matplotlib/contour.py

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1485,16 +1485,17 @@ def _initialize_x_y(self, z):
14851485
14861486
levels : int or array-like, optional
14871487
Determines the number and positions of the contour lines / regions.
1488-
1489-
If an int *n*, use `~matplotlib.ticker.MaxNLocator` to automatically
1490-
choose approximately *n+1* "nice" contour levels between the minimum
1491-
and maximum values of *Z*. Note that the actual number may be up to
1492-
*n+2* depending on the data range.
1493-
1488+
1489+
If an int *n*, use `~.ticker.MaxNLocator`, which tries to
1490+
automatically choose approximately *n+1* "nice" contour levels
1491+
between minimum and maximum numeric values of Z. Note that this
1492+
locator optimizes for "nice" intervals, so the actual number of
1493+
levels may be up to *n+2* depending on the data range.
1494+
14941495
If array-like, draw contour lines at the specified levels.
14951496
The values must be in increasing order.
1496-
1497-
If not specified, behaves as if ``levels=7`` was passed, typically
1497+
1498+
If not specified, the default corresponds to *n=7*, typically
14981499
producing approximately 8 contour levels.
14991500
15001501
Returns

0 commit comments

Comments
 (0)