@@ -74,8 +74,7 @@ class Collection(artist.Artist, cm.ScalarMappable):
74
74
_edge_default = False
75
75
76
76
@_docstring .interpd
77
- @_api .make_keyword_only ("3.6" , name = "edgecolors" )
78
- def __init__ (self ,
77
+ def __init__ (self , * ,
79
78
edgecolors = None ,
80
79
facecolors = None ,
81
80
linewidths = None ,
@@ -90,7 +89,6 @@ def __init__(self,
90
89
pickradius = 5.0 ,
91
90
hatch = None ,
92
91
urls = None ,
93
- * ,
94
92
zorder = 1 ,
95
93
** kwargs
96
94
):
@@ -1148,8 +1146,7 @@ def legend_elements(self, prop="colors", num="auto",
1148
1146
1149
1147
class PolyCollection (_CollectionWithSizes ):
1150
1148
1151
- @_api .make_keyword_only ("3.6" , name = "closed" )
1152
- def __init__ (self , verts , sizes = None , closed = True , ** kwargs ):
1149
+ def __init__ (self , verts , sizes = None , * , closed = True , ** kwargs ):
1153
1150
"""
1154
1151
Parameters
1155
1152
----------
@@ -1279,9 +1276,9 @@ class RegularPolyCollection(_CollectionWithSizes):
1279
1276
_path_generator = mpath .Path .unit_regular_polygon
1280
1277
_factor = np .pi ** (- 1 / 2 )
1281
1278
1282
- @_api .make_keyword_only ("3.6" , name = "rotation" )
1283
1279
def __init__ (self ,
1284
1280
numsides ,
1281
+ * ,
1285
1282
rotation = 0 ,
1286
1283
sizes = (1 ,),
1287
1284
** kwargs ):
@@ -1492,10 +1489,10 @@ class EventCollection(LineCollection):
1492
1489
1493
1490
_edge_default = True
1494
1491
1495
- @_api .make_keyword_only ("3.6" , name = "lineoffset" )
1496
1492
def __init__ (self ,
1497
1493
positions , # Cannot be None.
1498
1494
orientation = 'horizontal' ,
1495
+ * ,
1499
1496
lineoffset = 0 ,
1500
1497
linelength = 1 ,
1501
1498
linewidth = None ,
@@ -1688,8 +1685,7 @@ def __init__(self, sizes, **kwargs):
1688
1685
class EllipseCollection (Collection ):
1689
1686
"""A collection of ellipses, drawn using splines."""
1690
1687
1691
- @_api .make_keyword_only ("3.6" , name = "units" )
1692
- def __init__ (self , widths , heights , angles , units = 'points' , ** kwargs ):
1688
+ def __init__ (self , widths , heights , angles , * , units = 'points' , ** kwargs ):
1693
1689
"""
1694
1690
Parameters
1695
1691
----------
@@ -1776,8 +1772,7 @@ class PatchCollection(Collection):
1776
1772
collection of patches.
1777
1773
"""
1778
1774
1779
- @_api .make_keyword_only ("3.6" , name = "match_original" )
1780
- def __init__ (self , patches , match_original = False , ** kwargs ):
1775
+ def __init__ (self , patches , * , match_original = False , ** kwargs ):
1781
1776
"""
1782
1777
Parameters
1783
1778
----------
0 commit comments