@@ -17,6 +17,7 @@ from .typing import ColorType, LineStyleType
17
17
class Collection (artist .Artist , cm .ScalarMappable ):
18
18
def __init__ (
19
19
self ,
20
+ * ,
20
21
edgecolors : ColorType | Sequence [ColorType ] | None = ...,
21
22
facecolors : ColorType | Sequence [ColorType ] | None = ...,
22
23
linewidths : float | Sequence [float ] | None = ...,
@@ -31,7 +32,6 @@ class Collection(artist.Artist, cm.ScalarMappable):
31
32
pickradius : float = ...,
32
33
hatch : str | None = ...,
33
34
urls : Sequence [str ] | None = ...,
34
- * ,
35
35
zorder : float = ...,
36
36
** kwargs
37
37
) -> None : ...
@@ -92,6 +92,7 @@ class PolyCollection(_CollectionWithSizes):
92
92
self ,
93
93
verts : Sequence [ArrayLike ],
94
94
sizes : ArrayLike | None = ...,
95
+ * ,
95
96
closed : bool = ...,
96
97
** kwargs
97
98
) -> None : ...
@@ -117,7 +118,7 @@ class BrokenBarHCollection(PolyCollection):
117
118
118
119
class RegularPolyCollection (_CollectionWithSizes ):
119
120
def __init__ (
120
- self , numsides : int , rotation : float = ..., sizes : ArrayLike = ..., ** kwargs
121
+ self , numsides : int , * , rotation : float = ..., sizes : ArrayLike = ..., ** kwargs
121
122
) -> None : ...
122
123
def get_numsides (self ) -> int : ...
123
124
def get_rotation (self ) -> float : ...
@@ -143,6 +144,7 @@ class EventCollection(LineCollection):
143
144
self ,
144
145
positions : ArrayLike ,
145
146
orientation : Literal ["horizontal" , "vertical" ] = ...,
147
+ * ,
146
148
lineoffset : float = ...,
147
149
linelength : float = ...,
148
150
linewidth : float | Sequence [float ] | None = ...,
@@ -179,6 +181,7 @@ class EllipseCollection(Collection):
179
181
widths : ArrayLike ,
180
182
heights : ArrayLike ,
181
183
angles : ArrayLike ,
184
+ * ,
182
185
units : Literal [
183
186
"points" , "inches" , "dots" , "width" , "height" , "x" , "y" , "xy"
184
187
] = ...,
@@ -187,7 +190,7 @@ class EllipseCollection(Collection):
187
190
188
191
class PatchCollection (Collection ):
189
192
def __init__ (
190
- self , patches : Iterable [Patch ], match_original : bool = ..., ** kwargs
193
+ self , patches : Iterable [Patch ], * , match_original : bool = ..., ** kwargs
191
194
) -> None : ...
192
195
def set_paths (self , patches : Iterable [Patch ]) -> None : ... # type: ignore[override]
193
196
0 commit comments