docstr: An object for positioning an inset axes.
  
  This is created by specifying the normalized coordinates in the axes,
  instead of the figure.
  
  Parameters
  ----------
  parent : `~matplotlib.axes.Axes`
      Axes to use for normalizing coordinates.
  
  lbwh : iterable of four floats
      The left edge, bottom edge, width, and height of the inset axes, in
      units of the normalized coordinate of the *parent* axes.
  
  See Also
  --------
  :meth:`matplotlib.axes.Axes.set_axes_locator`
  
  Examples
  --------
  The following bounds the inset axes to a box with 20%% of the parent
  axes height and 40%% of the width. The size of the axes specified
  ([0, 0, 1, 1]) ensures that the axes completely fills the bounding box:
  
  >>> parent_axes = plt.gca()
  >>> ax_ins = plt.axes([0, 0, 1, 1])
  >>> ip = InsetPosition(parent_axes, [0.5, 0.1, 0.4, 0.2])
  >>> ax_ins.set_axes_locator(ip)
docstr_tok: ["An","object","for","positioning","an","inset","axes",".","This","is","created","by","specifying","the","normalized","coordinates","in","the","axes",",","instead","of","the","figure",".","Parameters","--","--","--","--","--","parent",":","`","~matplotlib.axes.Axes","`","Axes","to","use","for","normalizing","coordinates",".","lbwh",":","iterable","of","four","floats","The","left","edge",",","bottom","edge",",","width",",","and","height","of","the","inset","axes",",","in","units","of","the","normalized","coordinate","of","the","*","parent","*","axes",".","See","Also","--","--","--","--",":","meth",":","`","matplotlib.axes.Axes.set_axes_locator","`","Examples","--","--","--","--","The","following","bounds","the","inset","axes","to","a","box","with","20","%","%","of","the","parent","axes","height","and","40","%","%","of","the","width",".","The","size","of","the","axes","specified","(","[","0",",","0",",","1",",","1","]",")","ensures","that","the","axes","completely","fills","the","bounding","box",":",">",">",">","parent_axes","=","plt.gca","(",")",">",">",">","ax_ins","=","plt.axes","(","[","0",",","0",",","1",",","1","]",")",">",">",">","ip","=","InsetPosition","(","parent_axes",",","[","0.5",",","0.1",",","0.4",",","0.2","]",")",">",">",">","ax_ins.set_axes_locator","(","ip",")"]
code: def __init__(self, parent, lbwh):
      """
      An object for positioning an inset axes.
  
      This is created by specifying the normalized coordinates in the axes,
      instead of the figure.
  
      Parameters
      ----------
      parent : `~matplotlib.axes.Axes`
          Axes to use for normalizing coordinates.
  
      lbwh : iterable of four floats
          The left edge, bottom edge, width, and height of the inset axes, in
          units of the normalized coordinate of the *parent* axes.
  
      See Also
      --------
      :meth:`matplotlib.axes.Axes.set_axes_locator`
  
      Examples
      --------
      The following bounds the inset axes to a box with 20%% of the parent
      axes height and 40%% of the width. The size of the axes specified
      ([0, 0, 1, 1]) ensures that the axes completely fills the bounding box:
  
      >>> parent_axes = plt.gca()
      >>> ax_ins = plt.axes([0, 0, 1, 1])
      >>> ip = InsetPosition(parent_axes, [0.5, 0.1, 0.4, 0.2])
      >>> ax_ins.set_axes_locator(ip)
      """
      self.parent = parent
      self.lbwh = lbwh
  
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 InsetPosition object  with example: obj = InsetPosition(parent, lbwh)