@@ -164,6 +164,13 @@ def _contour_args(self, args, kwargs):
164
164
165
165
Other Parameters
166
166
----------------
167
+ corner_mask : bool, default: :rc:`contour.corner_mask`
168
+ Enable/disable corner masking, which only has an effect if *Z* is
169
+ a masked array. If ``False``, any quad touching a masked point is
170
+ masked out. If ``True``, only the triangular corners of quads
171
+ nearest those points are always masked out, other triangular
172
+ corners comprising three unmasked points are contoured as usual.
173
+
167
174
colors : color string or sequence of colors, optional
168
175
The colors of the levels, i.e., the contour %(type)s.
169
176
@@ -191,6 +198,11 @@ def _contour_args(self, args, kwargs):
191
198
the canonical colormap range [0, 1] for mapping to colors. If not given,
192
199
the default linear scaling is used.
193
200
201
+ vmin, vmax : float, optional
202
+ If not *None*, either or both of these values will be supplied to
203
+ the `.Normalize` instance, overriding the default color scaling
204
+ based on *levels*.
205
+
194
206
origin : {*None*, 'upper', 'lower', 'image'}, default: None
195
207
Determines the orientation and exact position of *Z* by specifying the
196
208
position of ``Z[0, 0]``. This is only relevant, if *X*, *Y* are not given.
@@ -239,7 +251,21 @@ def _contour_args(self, args, kwargs):
239
251
240
252
xunits, yunits : registered units, optional
241
253
Override axis units by specifying an instance of a
242
- :class:`matplotlib.units.ConversionInterface`.""" )
254
+ :class:`matplotlib.units.ConversionInterface`.
255
+
256
+ antialiased : bool, optional
257
+ Enable antialiasing, overriding the defaults. For
258
+ filled contours, the default is *True*. For line contours,
259
+ it is taken from :rc:`lines.antialiased`.
260
+
261
+ nchunk : int >= 0, optional
262
+ If 0, no subdivision of the domain. Specify a positive integer to
263
+ divide the domain into subdomains of *nchunk* by *nchunk* quads.
264
+ Chunking reduces the maximum length of polygons generated by the
265
+ contouring algorithm which reduces the rendering workload passed
266
+ on to the backend and also requires slightly less RAM. It can
267
+ however introduce rendering artifacts at chunk boundaries depending
268
+ on the backend, the *antialiased* flag and value of *alpha*.""" )
243
269
244
270
245
271
@docstring .Substitution (func = 'tricontour' , type = 'lines' )
@@ -277,8 +303,11 @@ def tricontourf(ax, *args, **kwargs):
277
303
"""
278
304
%(_tricontour_doc)s
279
305
280
- antialiased : bool, default: True
281
- Whether to use antialiasing.
306
+ hatches : list[str], optional
307
+ A list of cross hatch patterns to use on the filled areas.
308
+ If None, no hatching will be added to the contour.
309
+ Hatching is supported in the PostScript, PDF, SVG and Agg
310
+ backends only.
282
311
283
312
Notes
284
313
-----
0 commit comments