@@ -17,6 +17,7 @@ from .typing import ColorType, LineStyleType
1717class Collection (artist .Artist , cm .ScalarMappable ):
1818 def __init__ (
1919 self ,
20+ * ,
2021 edgecolors : ColorType | Sequence [ColorType ] | None = ...,
2122 facecolors : ColorType | Sequence [ColorType ] | None = ...,
2223 linewidths : float | Sequence [float ] | None = ...,
@@ -31,7 +32,6 @@ class Collection(artist.Artist, cm.ScalarMappable):
3132 pickradius : float = ...,
3233 hatch : str | None = ...,
3334 urls : Sequence [str ] | None = ...,
34- * ,
3535 zorder : float = ...,
3636 ** kwargs
3737 ) -> None : ...
@@ -92,6 +92,7 @@ class PolyCollection(_CollectionWithSizes):
9292 self ,
9393 verts : Sequence [ArrayLike ],
9494 sizes : ArrayLike | None = ...,
95+ * ,
9596 closed : bool = ...,
9697 ** kwargs
9798 ) -> None : ...
@@ -117,7 +118,7 @@ class BrokenBarHCollection(PolyCollection):
117118
118119class RegularPolyCollection (_CollectionWithSizes ):
119120 def __init__ (
120- self , numsides : int , rotation : float = ..., sizes : ArrayLike = ..., ** kwargs
121+ self , numsides : int , * , rotation : float = ..., sizes : ArrayLike = ..., ** kwargs
121122 ) -> None : ...
122123 def get_numsides (self ) -> int : ...
123124 def get_rotation (self ) -> float : ...
@@ -143,6 +144,7 @@ class EventCollection(LineCollection):
143144 self ,
144145 positions : ArrayLike ,
145146 orientation : Literal ["horizontal" , "vertical" ] = ...,
147+ * ,
146148 lineoffset : float = ...,
147149 linelength : float = ...,
148150 linewidth : float | Sequence [float ] | None = ...,
@@ -179,6 +181,7 @@ class EllipseCollection(Collection):
179181 widths : ArrayLike ,
180182 heights : ArrayLike ,
181183 angles : ArrayLike ,
184+ * ,
182185 units : Literal [
183186 "points" , "inches" , "dots" , "width" , "height" , "x" , "y" , "xy"
184187 ] = ...,
@@ -187,7 +190,7 @@ class EllipseCollection(Collection):
187190
188191class PatchCollection (Collection ):
189192 def __init__ (
190- self , patches : Iterable [Patch ], match_original : bool = ..., ** kwargs
193+ self , patches : Iterable [Patch ], * , match_original : bool = ..., ** kwargs
191194 ) -> None : ...
192195 def set_paths (self , patches : Iterable [Patch ]) -> None : ... # type: ignore[override]
193196
0 commit comments