File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1485,16 +1485,17 @@ def _initialize_x_y(self, z):
14851485
14861486levels : 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
15001501Returns
You can’t perform that action at this time.
0 commit comments