@@ -75,8 +75,7 @@ class Collection(artist.Artist, cm.ScalarMappable):
7575 _edge_default = False
7676
7777 @_docstring .interpd
78- @_api .make_keyword_only ("3.6" , name = "edgecolors" )
79- def __init__ (self ,
78+ def __init__ (self , * ,
8079 edgecolors = None ,
8180 facecolors = None ,
8281 linewidths = None ,
@@ -91,7 +90,6 @@ def __init__(self,
9190 pickradius = 5.0 ,
9291 hatch = None ,
9392 urls = None ,
94- * ,
9593 zorder = 1 ,
9694 ** kwargs
9795 ):
@@ -1163,8 +1161,7 @@ def legend_elements(self, prop="colors", num="auto",
11631161
11641162class PolyCollection (_CollectionWithSizes ):
11651163
1166- @_api .make_keyword_only ("3.6" , name = "closed" )
1167- def __init__ (self , verts , sizes = None , closed = True , ** kwargs ):
1164+ def __init__ (self , verts , sizes = None , * , closed = True , ** kwargs ):
11681165 """
11691166 Parameters
11701167 ----------
@@ -1294,9 +1291,9 @@ class RegularPolyCollection(_CollectionWithSizes):
12941291 _path_generator = mpath .Path .unit_regular_polygon
12951292 _factor = np .pi ** (- 1 / 2 )
12961293
1297- @_api .make_keyword_only ("3.6" , name = "rotation" )
12981294 def __init__ (self ,
12991295 numsides ,
1296+ * ,
13001297 rotation = 0 ,
13011298 sizes = (1 ,),
13021299 ** kwargs ):
@@ -1560,10 +1557,10 @@ class EventCollection(LineCollection):
15601557
15611558 _edge_default = True
15621559
1563- @_api .make_keyword_only ("3.6" , name = "lineoffset" )
15641560 def __init__ (self ,
15651561 positions , # Cannot be None.
15661562 orientation = 'horizontal' ,
1563+ * ,
15671564 lineoffset = 0 ,
15681565 linelength = 1 ,
15691566 linewidth = None ,
@@ -1756,8 +1753,7 @@ def __init__(self, sizes, **kwargs):
17561753class EllipseCollection (Collection ):
17571754 """A collection of ellipses, drawn using splines."""
17581755
1759- @_api .make_keyword_only ("3.6" , name = "units" )
1760- def __init__ (self , widths , heights , angles , units = 'points' , ** kwargs ):
1756+ def __init__ (self , widths , heights , angles , * , units = 'points' , ** kwargs ):
17611757 """
17621758 Parameters
17631759 ----------
@@ -1844,8 +1840,7 @@ class PatchCollection(Collection):
18441840 collection of patches.
18451841 """
18461842
1847- @_api .make_keyword_only ("3.6" , name = "match_original" )
1848- def __init__ (self , patches , match_original = False , ** kwargs ):
1843+ def __init__ (self , patches , * , match_original = False , ** kwargs ):
18491844 """
18501845 Parameters
18511846 ----------
0 commit comments