Skip to content

Commit 98b6ad9

Browse files
committed
Remove unsupported arguments from tricontourf documentation
1 parent cb756d3 commit 98b6ad9

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

lib/matplotlib/tri/tricontour.py

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -164,13 +164,6 @@ def _contour_args(self, args, kwargs):
164164
165165
Other Parameters
166166
----------------
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-
174167
colors : color string or sequence of colors, optional
175168
The colors of the levels, i.e., the contour %(type)s.
176169
@@ -256,23 +249,30 @@ def _contour_args(self, args, kwargs):
256249
antialiased : bool, optional
257250
Enable antialiasing, overriding the defaults. For
258251
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*.""")
252+
it is taken from :rc:`lines.antialiased`.""")
269253

270254

271255
@docstring.Substitution(func='tricontour', type='lines')
272256
@docstring.dedent_interpd
273257
def tricontour(ax, *args, **kwargs):
274258
"""
275259
%(_tricontour_doc)s
260+
261+
corner_mask : bool, default: :rc:`contour.corner_mask`
262+
Enable/disable corner masking, which only has an effect if *Z* is
263+
a masked array. If ``False``, any quad touching a masked point is
264+
masked out. If ``True``, only the triangular corners of quads
265+
nearest those points are always masked out, other triangular
266+
corners comprising three unmasked points are contoured as usual.
267+
268+
nchunk : int >= 0, optional
269+
If 0, no subdivision of the domain. Specify a positive integer to
270+
divide the domain into subdomains of *nchunk* by *nchunk* quads.
271+
Chunking reduces the maximum length of polygons generated by the
272+
contouring algorithm which reduces the rendering workload passed
273+
on to the backend and also requires slightly less RAM. It can
274+
however introduce rendering artifacts at chunk boundaries depending
275+
on the backend, the *antialiased* flag and value of *alpha*.
276276
277277
linewidths : float or array-like, default: :rc:`contour.linewidth`
278278
The line width of the contour lines.

0 commit comments

Comments
 (0)