File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -206,10 +206,10 @@ class OffsetBox(martist.Artist):
206
206
The child artists are meant to be drawn at a relative position to its
207
207
parent.
208
208
209
- Being an artist itself, all parameters are passed on to `.Artist`.
209
+ Being an artist itself, all keyword arguments are passed on to `.Artist`.
210
210
"""
211
- def __init__ (self , * args , * *kwargs ):
212
- super ().__init__ (* args )
211
+ def __init__ (self , ** kwargs ):
212
+ super ().__init__ ()
213
213
self ._internal_update (kwargs )
214
214
# Clipping has not been implemented in the OffsetBox family, so
215
215
# disable the clip flag for consistency. It can always be turned back
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ def _get_packed_offsets(
26
26
class OffsetBox (martist .Artist ):
27
27
width : float | None
28
28
height : float | None
29
- def __init__ (self , * args , * *kwargs ) -> None : ...
29
+ def __init__ (self , ** kwargs ) -> None : ...
30
30
def set_figure (self , fig : Figure | SubFigure ) -> None : ...
31
31
def set_offset (
32
32
self ,
You can’t perform that action at this time.
0 commit comments