@@ -44,6 +44,7 @@ class Patch(artist.Artist):
4444 # subclass-by-subclass basis.
4545 _edge_default = False
4646
47+ @_api .make_keyword_only ("3.6" , name = "edgecolor" )
4748 def __init__ (self ,
4849 edgecolor = None ,
4950 facecolor = None ,
@@ -690,6 +691,7 @@ def __str__(self):
690691 return fmt % pars
691692
692693 @_docstring .dedent_interpd
694+ @_api .make_keyword_only ("3.6" , name = "angle" )
693695 def __init__ (self , xy , width , height , angle = 0.0 , * ,
694696 rotation_point = 'xy' , ** kwargs ):
695697 """
@@ -892,6 +894,7 @@ def __str__(self):
892894 self .orientation )
893895
894896 @_docstring .dedent_interpd
897+ @_api .make_keyword_only ("3.6" , name = "radius" )
895898 def __init__ (self , xy , numVertices , radius = 5 , orientation = 0 ,
896899 ** kwargs ):
897900 """
@@ -1079,6 +1082,7 @@ def __str__(self):
10791082 return "Polygon0()"
10801083
10811084 @_docstring .dedent_interpd
1085+ @_api .make_keyword_only ("3.6" , name = "closed" )
10821086 def __init__ (self , xy , closed = True , ** kwargs ):
10831087 """
10841088 *xy* is a numpy array with shape Nx2.
@@ -1175,6 +1179,7 @@ def __str__(self):
11751179 return fmt % pars
11761180
11771181 @_docstring .dedent_interpd
1182+ @_api .make_keyword_only ("3.6" , name = "width" )
11781183 def __init__ (self , center , r , theta1 , theta2 , width = None , ** kwargs ):
11791184 """
11801185 A wedge centered at *x*, *y* center with radius *r* that
@@ -1271,6 +1276,7 @@ def __str__(self):
12711276 closed = True )
12721277
12731278 @_docstring .dedent_interpd
1279+ @_api .make_keyword_only ("3.6" , name = "width" )
12741280 def __init__ (self , x , y , dx , dy , width = 1.0 , ** kwargs ):
12751281 """
12761282 Draws an arrow from (*x*, *y*) to (*x* + *dx*, *y* + *dy*).
@@ -1326,6 +1332,7 @@ def __str__(self):
13261332 return "FancyArrow()"
13271333
13281334 @_docstring .dedent_interpd
1335+ @_api .make_keyword_only ("3.6" , name = "width" )
13291336 def __init__ (self , x , y , dx , dy , width = 0.001 , length_includes_head = False ,
13301337 head_width = None , head_length = None , shape = 'full' , overhang = 0 ,
13311338 head_starts_at_zero = False , ** kwargs ):
@@ -1496,6 +1503,7 @@ def __str__(self):
14961503 return s % (self .xy [0 ], self .xy [1 ], self .radius , self .numvertices )
14971504
14981505 @_docstring .dedent_interpd
1506+ @_api .make_keyword_only ("3.6" , name = "resolution" )
14991507 def __init__ (self , xy , radius = 5 ,
15001508 resolution = 20 , # the number of vertices
15011509 ** kwargs ):
@@ -1509,7 +1517,8 @@ def __init__(self, xy, radius=5,
15091517
15101518 %(Patch:kwdoc)s
15111519 """
1512- super ().__init__ (xy , resolution , radius , orientation = 0 , ** kwargs )
1520+ super ().__init__ (
1521+ xy , resolution , radius = radius , orientation = 0 , ** kwargs )
15131522
15141523
15151524class Ellipse (Patch ):
@@ -1522,6 +1531,7 @@ def __str__(self):
15221531 return fmt % pars
15231532
15241533 @_docstring .dedent_interpd
1534+ @_api .make_keyword_only ("3.6" , name = "angle" )
15251535 def __init__ (self , xy , width , height , angle = 0 , ** kwargs ):
15261536 """
15271537 Parameters
@@ -1913,6 +1923,7 @@ def __str__(self):
19131923 return fmt % pars
19141924
19151925 @_docstring .dedent_interpd
1926+ @_api .make_keyword_only ("3.6" , name = "angle" )
19161927 def __init__ (self , xy , width , height , angle = 0.0 ,
19171928 theta1 = 0.0 , theta2 = 360.0 , ** kwargs ):
19181929 """
@@ -1953,7 +1964,7 @@ def __init__(self, xy, width, height, angle=0.0,
19531964 if fill :
19541965 raise ValueError ("Arc objects can not be filled" )
19551966
1956- super ().__init__ (xy , width , height , angle , ** kwargs )
1967+ super ().__init__ (xy , width , height , angle = angle , ** kwargs )
19571968
19581969 self .theta1 = theta1
19591970 self .theta2 = theta2
@@ -3840,6 +3851,7 @@ def __str__(self):
38403851 return s % (self ._x , self ._y , self ._width , self ._height )
38413852
38423853 @_docstring .dedent_interpd
3854+ @_api .make_keyword_only ("3.6" , name = "mutation_scale" )
38433855 @_api .delete_parameter ("3.4" , "bbox_transmuter" , alternative = "boxstyle" )
38443856 def __init__ (self , xy , width , height ,
38453857 boxstyle = "round" , bbox_transmuter = None ,
@@ -4129,6 +4141,7 @@ def __str__(self):
41294141 return f"{ type (self ).__name__ } ({ self ._path_original } )"
41304142
41314143 @_docstring .dedent_interpd
4144+ @_api .make_keyword_only ("3.6" , name = "path" )
41324145 def __init__ (self , posA = None , posB = None , path = None ,
41334146 arrowstyle = "simple" , connectionstyle = "arc3" ,
41344147 patchA = None , patchB = None ,
@@ -4444,6 +4457,7 @@ def __str__(self):
44444457 (self .xy1 [0 ], self .xy1 [1 ], self .xy2 [0 ], self .xy2 [1 ])
44454458
44464459 @_docstring .dedent_interpd
4460+ @_api .make_keyword_only ("3.6" , name = "axesA" )
44474461 def __init__ (self , xyA , xyB , coordsA , coordsB = None ,
44484462 axesA = None , axesB = None ,
44494463 arrowstyle = "-" ,
0 commit comments