... are deprecated; these methods are also deprecated on all subclasses of .OffsetBox.
To get the offsetbox extents, instead of get_extent
, use .OffsetBox.get_bbox, which directly returns a .Bbox instance.
To also get the child offsets, instead of get_extent_offsets
, separately call ~.OffsetBox.get_offset on each children after triggering a draw.