@@ -180,6 +180,13 @@ def _contour_args(self, args, kwargs):
180180
181181Other Parameters
182182----------------
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+
183190colors : color string or sequence of colors, optional
184191 The colors of the levels, i.e., the contour %(type)s.
185192
@@ -207,6 +214,11 @@ def _contour_args(self, args, kwargs):
207214 the canonical colormap range [0, 1] for mapping to colors. If not given,
208215 the default linear scaling is used.
209216
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+
210222origin : {*None*, 'upper', 'lower', 'image'}, default: None
211223 Determines the orientation and exact position of *Z* by specifying the
212224 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):
255267
256268xunits, yunits : registered units, optional
257269 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*.""" )
259285
260286
261287@docstring .Substitution (func = 'tricontour' , type = 'lines' )
@@ -293,8 +319,11 @@ def tricontourf(ax, *args, **kwargs):
293319 """
294320 %(_tricontour_doc)s
295321
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.
298327
299328 Notes
300329 -----
0 commit comments