@@ -180,6 +180,13 @@ def _contour_args(self, args, kwargs):
180
180
181
181
Other Parameters
182
182
----------------
183
+ corner_mask : bool, default: :rc:`contour.corner_mask`
184
+ Enable/disable corner masking, which only has an effect if *Z* is
185
+ a masked array. If ``False``, any quad touching a masked point is
186
+ masked out. If ``True``, only the triangular corners of quads
187
+ nearest those points are always masked out, other triangular
188
+ corners comprising three unmasked points are contoured as usual.
189
+
183
190
colors : color string or sequence of colors, optional
184
191
The colors of the levels, i.e., the contour %(type)s.
185
192
@@ -207,6 +214,11 @@ def _contour_args(self, args, kwargs):
207
214
the canonical colormap range [0, 1] for mapping to colors. If not given,
208
215
the default linear scaling is used.
209
216
217
+ vmin, vmax : float, optional
218
+ If not *None*, either or both of these values will be supplied to
219
+ the `.Normalize` instance, overriding the default color scaling
220
+ based on *levels*.
221
+
210
222
origin : {*None*, 'upper', 'lower', 'image'}, default: None
211
223
Determines the orientation and exact position of *Z* by specifying the
212
224
position of ``Z[0, 0]``. This is only relevant, if *X*, *Y* are not given.
@@ -255,7 +267,21 @@ def _contour_args(self, args, kwargs):
255
267
256
268
xunits, yunits : registered units, optional
257
269
Override axis units by specifying an instance of a
258
- :class:`matplotlib.units.ConversionInterface`.""" )
270
+ :class:`matplotlib.units.ConversionInterface`.
271
+
272
+ antialiased : bool, optional
273
+ Enable antialiasing, overriding the defaults. For
274
+ filled contours, the default is *True*. For line contours,
275
+ it is taken from :rc:`lines.antialiased`.
276
+
277
+ nchunk : int >= 0, optional
278
+ If 0, no subdivision of the domain. Specify a positive integer to
279
+ divide the domain into subdomains of *nchunk* by *nchunk* quads.
280
+ Chunking reduces the maximum length of polygons generated by the
281
+ contouring algorithm which reduces the rendering workload passed
282
+ on to the backend and also requires slightly less RAM. It can
283
+ however introduce rendering artifacts at chunk boundaries depending
284
+ on the backend, the *antialiased* flag and value of *alpha*.""" )
259
285
260
286
261
287
@docstring .Substitution (func = 'tricontour' , type = 'lines' )
@@ -293,8 +319,11 @@ def tricontourf(ax, *args, **kwargs):
293
319
"""
294
320
%(_tricontour_doc)s
295
321
296
- antialiased : bool, default: True
297
- Whether to use antialiasing.
322
+ hatches : list[str], optional
323
+ A list of cross hatch patterns to use on the filled areas.
324
+ If None, no hatching will be added to the contour.
325
+ Hatching is supported in the PostScript, PDF, SVG and Agg
326
+ backends only.
298
327
299
328
Notes
300
329
-----
0 commit comments