File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 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):
206206 The child artists are meant to be drawn at a relative position to its
207207 parent.
208208
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`.
210210 """
211- def __init__ (self , * args , * *kwargs ):
212- super ().__init__ (* args )
211+ def __init__ (self , ** kwargs ):
212+ super ().__init__ ()
213213 self ._internal_update (kwargs )
214214 # Clipping has not been implemented in the OffsetBox family, so
215215 # 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(
2626class OffsetBox (martist .Artist ):
2727 width : float | None
2828 height : float | None
29- def __init__ (self , * args , * *kwargs ) -> None : ...
29+ def __init__ (self , ** kwargs ) -> None : ...
3030 def set_figure (self , fig : Figure | SubFigure ) -> None : ...
3131 def set_offset (
3232 self ,
You can’t perform that action at this time.
0 commit comments