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 : {1, 2, 3, 4}
      Corners of *bbox1* and *bbox2* to draw the first line.
      Valid values are::
  
          'upper right'  : 1,
          'upper left'   : 2,
          'lower left'   : 3,
          'lower right'  : 4
  
  loc1b, loc2b : {1, 2, 3, 4}
      Corners of *bbox1* and *bbox2* to draw the second line.
      Valid values are::
  
          'upper right'  : 1,
          'upper left'   : 2,
          'lower left'   : 3,
          'lower right'  : 4
  
  **kwargs
      Patch properties for the line drawn:
      %(Patch)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",":","{","1",",","2",",","3",",","4","}","Corners","of","*","bbox1","*","and","*","bbox2","*","to","draw","the","first","line",".","Valid","values","are",":",":","'upper","right","'",":","1",",","'upper","left","'",":","2",",","'lower","left","'",":","3",",","'lower","right","'",":","4","loc1b",",","loc2b",":","{","1",",","2",",","3",",","4","}","Corners","of","*","bbox1","*","and","*","bbox2","*","to","draw","the","second","line",".","Valid","values","are",":",":","'upper","right","'",":","1",",","'upper","left","'",":","2",",","'lower","left","'",":","3",",","'lower","right","'",":","4","*","*","kwargs","Patch","properties","for","the","line","drawn",":","%","(","Patch",")","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 : {1, 2, 3, 4}
          Corners of *bbox1* and *bbox2* to draw the first line.
          Valid values are::
  
              'upper right'  : 1,
              'upper left'   : 2,
              'lower left'   : 3,
              'lower right'  : 4
  
      loc1b, loc2b : {1, 2, 3, 4}
          Corners of *bbox1* and *bbox2* to draw the second line.
          Valid values are::
  
              'upper right'  : 1,
              'upper left'   : 2,
              'lower left'   : 3,
              'lower right'  : 4
  
      **kwargs
          Patch properties for the line drawn:
          %(Patch)s
      """
      if "transform" in kwargs:
          raise ValueError("transform should not be set")
      BboxConnector.__init__(self, bbox1, bbox2, loc1a, loc2a, **kwargs)
      self.loc1b = loc1b
      self.loc2b = loc2b
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import warnings
  from matplotlib import docstring
  import six
  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)