@@ -11,22 +11,24 @@ def tripcolor(ax, *args, alpha=1.0, norm=None, cmap=None, vmin=None,
1111 """
1212 Create a pseudocolor plot of an unstructured triangular grid.
1313
14- The triangulation can be specified in one of two ways; either ::
14+ Call signatures ::
1515
16- tripcolor(triangulation, ...)
16+ tripcolor(triangulation, C, *, ...)
17+ tripcolor(x, y, C, *, [triangles=triangles], [mask=mask], ...)
1718
18- where triangulation is a `.Triangulation` object, or
19+ The triangular grid can be specified either by passing a `.Triangulation`
20+ object as the first parameter, or by passing the points *x*, *y* and
21+ optionally the *triangles* and a *mask*. See `.Triangulation` for an
22+ explanation of these parameters.
1923
20- ::
24+ Parameters
25+ ----------
26+ triangulation : `.Triangulation`
27+ An already created triangular grid.
28+ x, y, triangles, mask
29+ Parameters specifying defining the triangular grid. See
30+ `.Triangulation`.
2131
22- tripcolor(x, y, ...)
23- tripcolor(x, y, triangles, ...)
24- tripcolor(x, y, triangles=triangles, ...)
25- tripcolor(x, y, mask=mask, ...)
26- tripcolor(x, y, triangles, mask=mask, ...)
27-
28- in which case a Triangulation object will be created. See `.Triangulation`
29- for a explanation of these possibilities.
3032
3133 The next argument must be *C*, the array of color values, either
3234 one per point in the triangulation if color values are defined at
@@ -42,6 +44,11 @@ def tripcolor(ax, *args, alpha=1.0, norm=None, cmap=None, vmin=None,
4244 three points. If *shading* is 'gouraud' then color values must be
4345 defined at points.
4446
47+
48+
49+ tripcolor(x, y, [triangles], C, [mask=mask], ...)
50+
51+
4552 The remaining kwargs are the same as for `~.Axes.pcolor`.
4653 """
4754 _api .check_in_list (['flat' , 'gouraud' ], shading = shading )
0 commit comments