@@ -1486,17 +1486,18 @@ def _initialize_x_y(self, z):
14861486levels : int or array-like, optional
14871487 Determines the number and positions of the contour lines / regions.
14881488
1489- If an int *n*, use `~.ticker.MaxNLocator`, which tries to
1489+ If an int *n*, use `~matplotlib .ticker.MaxNLocator`, which tries to
14901490 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.
1491+ between the minimum and maximum numeric values of *Z*. Note that the
1492+ actual number may be up to *n+2* depending on the data range.
14941493
14951494 If array-like, draw contour lines at the specified levels.
14961495 The values must be in increasing order.
1497-
1498- If not specified, the default corresponds to *n=7*, typically
1499- producing approximately 8 contour levels.
1496+
1497+ If not given, a reasonable default is automatically chosen. For linear
1498+ scales, this corresponds to *n*=7, typically producing approximately
1499+ 8 contour levels. For logarithmic scales, `~matplotlib.ticker.LogLocator`
1500+ is used instead.
15001501
15011502Returns
15021503-------
0 commit comments