@@ -221,7 +221,7 @@ def draw_path_collection(self, gc, master_transform, paths, all_transforms,
221221 and *hatchcolors* are lists that set the corresponding properties.
222222
223223 .. versionadded:: 3.11
224- Allowing *hatchcolors* to be specified.
224+ Allow *hatchcolors* to be specified.
225225
226226 *offset_position* is unused now, but the argument is kept for
227227 backwards compatibility.
@@ -244,7 +244,7 @@ def draw_path_collection(self, gc, master_transform, paths, all_transforms,
244244for xo ,yo ,path_id ,gc0 ,rgbFace in self ._iter_collection (
245245gc ,list (path_ids ),offsets ,offset_trans ,
246246facecolors ,edgecolors ,linewidths ,linestyles ,
247- antialiaseds ,urls ,offset_position ,hatchcolors ):
247+ antialiaseds ,urls ,offset_position ,hatchcolors = hatchcolors ):
248248path ,transform = path_id
249249# Only apply another translation if we have an offset, else we
250250# reuse the initial transform.
@@ -258,7 +258,7 @@ def draw_path_collection(self, gc, master_transform, paths, all_transforms,
258258
259259def draw_quad_mesh (self ,gc ,master_transform ,meshWidth ,meshHeight ,
260260coordinates ,offsets ,offsetTrans ,facecolors ,
261- antialiased ,edgecolors ,hatchcolors = None ):
261+ antialiased ,edgecolors ,* , hatchcolors = None ):
262262"""
263263 Draw a quadmesh.
264264
@@ -346,7 +346,7 @@ def _iter_collection_uses_per_path(self, paths, all_transforms,
346346
347347def _iter_collection (self ,gc ,path_ids ,offsets ,offset_trans ,facecolors ,
348348edgecolors ,linewidths ,linestyles ,
349- antialiaseds ,urls ,offset_position ,hatchcolors ):
349+ antialiaseds ,urls ,offset_position ,* , hatchcolors ):
350350"""
351351 Helper method (along with `_iter_collection_raw_paths`) to implement
352352 `draw_path_collection` in a memory-efficient manner.