@@ -158,7 +158,7 @@ class RendererBase:
158158
159159 * `draw_path`
160160 * `draw_image`
161- * `draw_gouraud_triangle `
161+ * `draw_gouraud_triangles `
162162
163163 The following methods *should* be implemented in the backend for
164164 optimization reasons:
@@ -286,6 +286,7 @@ def draw_quad_mesh(self, gc, master_transform, meshWidth, meshHeight,
286286 gc , master_transform , paths , [], offsets , offsetTrans , facecolors ,
287287 edgecolors , linewidths , [], [antialiased ], [None ], 'screen' )
288288
289+ @_api .deprecated ("3.7" , alternative = "draw_gouraud_triangles" )
289290 def draw_gouraud_triangle (self , gc , points , colors , transform ):
290291 """
291292 Draw a Gouraud-shaded triangle.
@@ -317,9 +318,7 @@ def draw_gouraud_triangles(self, gc, triangles_array, colors_array,
317318 transform : `matplotlib.transforms.Transform`
318319 An affine transform to apply to the points.
319320 """
320- transform = transform .frozen ()
321- for tri , col in zip (triangles_array , colors_array ):
322- self .draw_gouraud_triangle (gc , tri , col , transform )
321+ raise NotImplementedError
323322
324323 def _iter_collection_raw_paths (self , master_transform , paths ,
325324 all_transforms ):
0 commit comments