@@ -182,14 +182,12 @@ PyRendererAgg_draw_quad_mesh(RendererAgg *self,
182182 agg::trans_affine offset_trans,
183183 py::array_t <double > facecolors_obj,
184184 bool antialiased,
185- py::array_t <double > edgecolors_obj,
186- py::array_t <double > hatchcolors_obj)
185+ py::array_t <double > edgecolors_obj)
187186{
188187 auto coordinates = coordinates_obj.mutable_unchecked <3 >();
189188 auto offsets = convert_points (offsets_obj);
190189 auto facecolors = convert_colors (facecolors_obj);
191190 auto edgecolors = convert_colors (edgecolors_obj);
192- auto hatchcolors = convert_colors (hatchcolors_obj);
193191
194192 self->draw_quad_mesh (gc,
195193 master_transform,
@@ -200,8 +198,7 @@ PyRendererAgg_draw_quad_mesh(RendererAgg *self,
200198 offset_trans,
201199 facecolors,
202200 antialiased,
203- edgecolors,
204- hatchcolors);
201+ edgecolors);
205202}
206203
207204static void
@@ -240,8 +237,7 @@ PYBIND11_MODULE(_backend_agg, m, py::mod_gil_not_used())
240237 .def (" draw_quad_mesh" , &PyRendererAgg_draw_quad_mesh,
241238 " gc" _a, " master_transform" _a, " mesh_width" _a, " mesh_height" _a,
242239 " coordinates" _a, " offsets" _a, " offset_trans" _a, " facecolors" _a,
243- " antialiased" _a, " edgecolors" _a, py::kw_only (),
244- " hatchcolors" _a = py::array_t <double >().reshape ({0 , 4 }))
240+ " antialiased" _a, " edgecolors" _a)
245241 .def (" draw_gouraud_triangles" , &PyRendererAgg_draw_gouraud_triangles,
246242 " gc" _a, " points" _a, " colors" _a, " trans" _a = nullptr )
247243
0 commit comments