mpl_toolkits.axes_grid1.inset_locator.
BboxConnector
(bbox1, bbox2, loc1, loc2=None, **kwargs)[source]¶Bases: matplotlib.patches.Patch
Connect two bboxes with a straight line.
Parameters: | bbox1, bbox2 :
loc1 : {1, 2, 3, 4}
loc2 : {1, 2, 3, 4}, optional
**kwargs
|
---|
connect_bbox
(bbox1, bbox2, loc1, loc2=None)[source]¶Helper function to obtain a Path from one bbox to another.
Parameters: | bbox1, bbox2 :
loc1 : {1, 2, 3, 4}
loc2 : {1, 2, 3, 4}, optional
|
---|---|
Returns: | path :
|
get_bbox_edge_pos
(bbox, loc)[source]¶Helper function to obtain the location of a corner of a bbox
Parameters: | bbox : loc : {1, 2, 3, 4}
|
---|---|
Returns: | x, y : float
|
mpl_toolkits.axes_grid1.inset_locator.BboxConnector
¶