code: def __init__(
      self,
      bbox_to_anchor,
      offsetbox,
      loc,
      borderpad=0.5,
      bbox_transform=None,
  ):
      super().__init__(
          loc,
          pad=0.0,
          child=None,
          borderpad=borderpad,
          bbox_to_anchor=bbox_to_anchor,
          bbox_transform=bbox_transform,
      )
  
imports: from matplotlib import _api, _docstring
  from matplotlib.offsetbox import AnchoredOffsetbox
  from matplotlib.patches import Patch, Rectangle
  from matplotlib.path import Path
  from matplotlib.transforms import Bbox, BboxTransformTo
  from matplotlib.transforms import IdentityTransform, TransformedBbox
  from .None import axes_size
  from .parasite_axes import HostAxes
label_desc: Use image node_id 1 to create a new AnchoredLocatorBase object from inherited base classes: AnchoredOffsetbox with example: obj = AnchoredLocatorBase(bbox_to_anchor, offsetbox, loc, borderpad, bbox_transform)