code: def __init__(
      self,
      parent_axes,
      zoom,
      loc,
      borderpad=0.5,
      bbox_to_anchor=None,
      bbox_transform=None,
  ):
      self.parent_axes = parent_axes
      self.zoom = zoom
      if bbox_to_anchor is None:
          bbox_to_anchor = parent_axes.bbox
      super().__init__(
          bbox_to_anchor,
          None,
          loc,
          borderpad=borderpad,
          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 AnchoredZoomLocator object from inherited base classes: AnchoredLocatorBase with example: obj = AnchoredZoomLocator(parent_axes, zoom, loc, borderpad, bbox_to_anchor, bbox_transform)