@@ -68,7 +68,7 @@ def clabel(self, levels=None, *,
68
68
Size in points or relative size e.g., 'smaller', 'x-large'.
69
69
See `.Text.set_size` for accepted string values.
70
70
71
- colors : color-spec, optional
71
+ colors : color or colors or None, default: None
72
72
The label colors:
73
73
74
74
- If *None*, the color of each label matches the color of
@@ -99,7 +99,7 @@ def clabel(self, levels=None, *,
99
99
`.Formatter` instance, that returns a string when called with a
100
100
numeric contour level.
101
101
102
- manual : bool or iterable, optional
102
+ manual : bool or iterable, default: False
103
103
If ``True``, contour labels will be placed manually using
104
104
mouse clicks. Click the first button near a contour to
105
105
add a label, click the second button (or potentially both
@@ -124,12 +124,9 @@ def clabel(self, levels=None, *,
124
124
of texts during the drawing time, therefore this can be used if
125
125
aspect of the axes changes.
126
126
127
- zorder : float or None, optional
127
+ zorder : float or None, default: ``(2 + contour.get_zorder())``
128
128
zorder of the contour labels.
129
129
130
- If not specified, the zorder of contour labels is set to
131
- (2 + zorder of contours).
132
-
133
130
Returns
134
131
-------
135
132
labels
@@ -1017,8 +1014,7 @@ def _process_args(self, *args, **kwargs):
1017
1014
"""
1018
1015
Process *args* and *kwargs*; override in derived classes.
1019
1016
1020
- Must set self.levels, self.zmin and self.zmax, and update axes
1021
- limits.
1017
+ Must set self.levels, self.zmin and self.zmax, and update axes limits.
1022
1018
"""
1023
1019
self .levels = args [0 ]
1024
1020
self .allsegs = args [1 ]
@@ -1613,10 +1609,9 @@ def _initialize_x_y(self, z):
1613
1609
levels : int or array-like, optional
1614
1610
Determines the number and positions of the contour lines / regions.
1615
1611
1616
- If an int *n*, use an algorithm
1617
- (see `~matplotlib.ticker.MaxNLocator`) that tries to provide
1618
- no more than *n+1* "nice" contour levels between vmin and vmax.
1619
- The level heights are automatically chosen.
1612
+ If an int *n*, use `~matplotlib.ticker.MaxNLocator`, which tries
1613
+ to automatically choose no more than *n+1* "nice" contour levels
1614
+ between *vmin* and *vmax*.
1620
1615
1621
1616
If array-like, draw contour lines at the specified levels.
1622
1617
The values must be in increasing order.
@@ -1668,7 +1663,7 @@ def _initialize_x_y(self, z):
1668
1663
the `.Normalize` instance, overriding the default color scaling
1669
1664
based on *levels*.
1670
1665
1671
- origin : {*None*, 'upper', 'lower', 'image'}, optional
1666
+ origin : {*None*, 'upper', 'lower', 'image'}, default: None
1672
1667
Determines the orientation and exact position of *Z* by specifying
1673
1668
the position of ``Z[0, 0]``. This is only relevant, if *X*, *Y*
1674
1669
are not given.
0 commit comments