@@ -533,8 +533,7 @@ class PaddedBox(OffsetBox):
533
533
it when rendering.
534
534
"""
535
535
536
- @_api .make_keyword_only ("3.6" , name = "draw_frame" )
537
- def __init__ (self , child , pad = 0. , draw_frame = False , patch_attrs = None ):
536
+ def __init__ (self , child , pad = 0. , * , draw_frame = False , patch_attrs = None ):
538
537
"""
539
538
Parameters
540
539
----------
@@ -715,8 +714,8 @@ class TextArea(OffsetBox):
715
714
child text.
716
715
"""
717
716
718
- @_api .make_keyword_only ("3.6" , name = "textprops" )
719
717
def __init__ (self , s ,
718
+ * ,
720
719
textprops = None ,
721
720
multilinebaseline = False ,
722
721
):
@@ -929,8 +928,7 @@ class AnchoredOffsetbox(OffsetBox):
929
928
'center' : 10 ,
930
929
}
931
930
932
- @_api .make_keyword_only ("3.6" , name = "pad" )
933
- def __init__ (self , loc ,
931
+ def __init__ (self , loc , * ,
934
932
pad = 0.4 , borderpad = 0.5 ,
935
933
child = None , prop = None , frameon = True ,
936
934
bbox_to_anchor = None ,
@@ -1103,8 +1101,7 @@ class AnchoredText(AnchoredOffsetbox):
1103
1101
AnchoredOffsetbox with Text.
1104
1102
"""
1105
1103
1106
- @_api .make_keyword_only ("3.6" , name = "pad" )
1107
- def __init__ (self , s , loc , pad = 0.4 , borderpad = 0.5 , prop = None , ** kwargs ):
1104
+ def __init__ (self , s , loc , * , pad = 0.4 , borderpad = 0.5 , prop = None , ** kwargs ):
1108
1105
"""
1109
1106
Parameters
1110
1107
----------
@@ -1144,8 +1141,7 @@ def __init__(self, s, loc, pad=0.4, borderpad=0.5, prop=None, **kwargs):
1144
1141
1145
1142
class OffsetImage (OffsetBox ):
1146
1143
1147
- @_api .make_keyword_only ("3.6" , name = "zoom" )
1148
- def __init__ (self , arr ,
1144
+ def __init__ (self , arr , * ,
1149
1145
zoom = 1 ,
1150
1146
cmap = None ,
1151
1147
norm = None ,
@@ -1229,8 +1225,7 @@ def __str__(self):
1229
1225
return "AnnotationBbox(%g,%g)" % (self .xy [0 ], self .xy [1 ])
1230
1226
1231
1227
@_docstring .dedent_interpd
1232
- @_api .make_keyword_only ("3.6" , name = "xycoords" )
1233
- def __init__ (self , offsetbox , xy ,
1228
+ def __init__ (self , offsetbox , xy , * ,
1234
1229
xybox = None ,
1235
1230
xycoords = 'data' ,
1236
1231
boxcoords = None ,
0 commit comments