@@ -182,14 +182,12 @@ PyRendererAgg_draw_quad_mesh(RendererAgg *self,
182
182
agg::trans_affine offset_trans,
183
183
py::array_t <double > facecolors_obj,
184
184
bool antialiased,
185
- py::array_t <double > edgecolors_obj,
186
- py::array_t <double > hatchcolors_obj)
185
+ py::array_t <double > edgecolors_obj)
187
186
{
188
187
auto coordinates = coordinates_obj.mutable_unchecked <3 >();
189
188
auto offsets = convert_points (offsets_obj);
190
189
auto facecolors = convert_colors (facecolors_obj);
191
190
auto edgecolors = convert_colors (edgecolors_obj);
192
- auto hatchcolors = convert_colors (hatchcolors_obj);
193
191
194
192
self->draw_quad_mesh (gc,
195
193
master_transform,
@@ -200,8 +198,7 @@ PyRendererAgg_draw_quad_mesh(RendererAgg *self,
200
198
offset_trans,
201
199
facecolors,
202
200
antialiased,
203
- edgecolors,
204
- hatchcolors);
201
+ edgecolors);
205
202
}
206
203
207
204
static void
@@ -240,8 +237,7 @@ PYBIND11_MODULE(_backend_agg, m, py::mod_gil_not_used())
240
237
.def (" draw_quad_mesh" , &PyRendererAgg_draw_quad_mesh,
241
238
" gc" _a, " master_transform" _a, " mesh_width" _a, " mesh_height" _a,
242
239
" 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)
245
241
.def (" draw_gouraud_triangles" , &PyRendererAgg_draw_gouraud_triangles,
246
242
" gc" _a, " points" _a, " colors" _a, " trans" _a = nullptr )
247
243
0 commit comments