docstr: Connect two bboxes with a quadrilateral.
  
  The quadrilateral is specified by two lines that start and end at
  corners of the bboxes. The four sides of the quadrilateral are defined
  by the two lines given, the line between the two corners specified in
  *bbox1* and the line between the two corners specified in *bbox2*.
  
  Parameters
  ----------
  bbox1, bbox2 : `~matplotlib.transforms.Bbox`
      Bounding boxes to connect.
  
  loc1a, loc2a, loc1b, loc2b : {1, 2, 3, 4}
      The first line connects corners *loc1a* of *bbox1* and *loc2a* of
      *bbox2*; the second line connects corners *loc1b* of *bbox1* and
      *loc2b* of *bbox2*.  Valid values are::
  
          'upper right'  : 1,
          'upper left'   : 2,
          'lower left'   : 3,
          'lower right'  : 4
  
  **kwargs
      Patch properties for the line drawn:
  
      %(Patch:kwdoc)s
docstr_tok: ["Connect","two","bboxes","with","a","quadrilateral",".","The","quadrilateral","is","specified","by","two","lines","that","start","and","end","at","corners","of","the","bboxes",".","The","four","sides","of","the","quadrilateral","are","defined","by","the","two","lines","given",",","the","line","between","the","two","corners","specified","in","*","bbox1","*","and","the","line","between","the","two","corners","specified","in","*","bbox2","*",".","Parameters","--","--","--","--","--","bbox1",",","bbox2",":","`","~matplotlib.transforms.Bbox","`","Bounding","boxes","to","connect",".","loc1a",",","loc2a",",","loc1b",",","loc2b",":","{","1",",","2",",","3",",","4","}","The","first","line","connects","corners","*","loc1a","*","of","*","bbox1","*","and","*","loc2a","*","of","*","bbox2","*",";","the","second","line","connects","corners","*","loc1b","*","of","*","bbox1","*","and","*","loc2b","*","of","*","bbox2","*",".","Valid","values","are",":",":","'upper","right","'",":","1",",","'upper","left","'",":","2",",","'lower","left","'",":","3",",","'lower","right","'",":","4","*","*","kwargs","Patch","properties","for","the","line","drawn",":","%","(","Patch",":","kwdoc",")","s"]
code: def __init__(
      self, bbox1, bbox2, loc1a, loc2a, loc1b, loc2b, **kwargs
  ):
      """
      Connect two bboxes with a quadrilateral.
  
      The quadrilateral is specified by two lines that start and end at
      corners of the bboxes. The four sides of the quadrilateral are defined
      by the two lines given, the line between the two corners specified in
      *bbox1* and the line between the two corners specified in *bbox2*.
  
      Parameters
      ----------
      bbox1, bbox2 : `~matplotlib.transforms.Bbox`
          Bounding boxes to connect.
  
      loc1a, loc2a, loc1b, loc2b : {1, 2, 3, 4}
          The first line connects corners *loc1a* of *bbox1* and *loc2a* of
          *bbox2*; the second line connects corners *loc1b* of *bbox1* and
          *loc2b* of *bbox2*.  Valid values are::
  
              'upper right'  : 1,
              'upper left'   : 2,
              'lower left'   : 3,
              'lower right'  : 4
  
      **kwargs
          Patch properties for the line drawn:
  
          %(Patch:kwdoc)s
      """
      if "transform" in kwargs:
          raise ValueError("transform should not be set")
      super().__init__(bbox1, bbox2, loc1a, loc2a, **kwargs)
      self.loc1b = loc1b
      self.loc2b = loc2b
  
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 BboxConnectorPatch object from inherited base classes: BboxConnector with example: obj = BboxConnectorPatch(bbox1, bbox2, loc1a, loc2a, loc1b, loc2b)