MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / draw_gouraud_triangles

Method draw_gouraud_triangles

lib/matplotlib/backend_bases.py:282–298  ·  view source on GitHub ↗

Draw a series of Gouraud triangles. Parameters ---------- gc : `.GraphicsContextBase` The graphics context. triangles_array : (N, 3, 2) array-like Array of *N* (x, y) points for the triangles. colors_array : (N, 3, 4) array-li

(self, gc, triangles_array, colors_array,
                               transform)

Source from the content-addressed store, hash-verified

280 edgecolors, linewidths, [], [antialiased], [None], 'screen')
281
282 def draw_gouraud_triangles(self, gc, triangles_array, colors_array,
283 transform):
284 """
285 Draw a series of Gouraud triangles.
286
287 Parameters
288 ----------
289 gc : `.GraphicsContextBase`
290 The graphics context.
291 triangles_array : (N, 3, 2) array-like
292 Array of *N* (x, y) points for the triangles.
293 colors_array : (N, 3, 4) array-like
294 Array of *N* RGBA colors for each point of the triangles.
295 transform : `~matplotlib.transforms.Transform`
296 An affine transform to apply to the points.
297 """
298 raise NotImplementedError
299
300 def _iter_collection_raw_paths(self, master_transform, paths,
301 all_transforms):

Callers 2

drawMethod · 0.45
drawMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected