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,13 +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`, which tries
1490- to automatically choose no more than *n+1* "nice" contour levels
1491- between minimum and maximum numeric values of *Z*.
1492-
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+
14931494 If array-like, draw contour lines at the specified levels.
14941495 The values must be in increasing order.
1496+
1497+ If not specified, behaves as if ``levels=7`` was passed, typically
1498+ producing approximately 8 contour levels.
14951499
14961500Returns
14971501-------
You can’t perform that action at this time.
0 commit comments