neulab/docprompting-conala huggingface dataset:
mpl_toolkits.axes_grid1.axes_grid.Grid   classmpl_toolkits.axes_grid1.axes_grid.Grid(fig, rect, nrows_ncols, ngrids=None, direction='row', axes_pad=0.02, *, share_all=False, share_x=True, share_y=True, label_mode='L', axes_class=None, aspect=False)[source]
 
Bases: object A grid of Axes. In Matplotlib, the axes location (and size) is specified in normalized figure coordinates. This may not be ideal for images that needs to be displayed with a given aspect ratio; for example, it is difficult to display multiple images of a same size with some fixed padding between them. AxesGrid can be used in such case.  Parameters 
 
figFigure


The parent figure.  
rect(float, float, float, float) or int


The axes position, as a (left, bottom, width, height) tuple or as a three-digit subplot position code (e.g., "121").  
nrows_ncols(int, int)


Number of rows and columns in the grid.  
ngridsint or None, default: None


If not None, only the first ngrids axes in the grid are created.  
direction{"row", "column"}, default: "row"


Whether axes are created in row-major ("row by row") or column-major order ("column by column"). This also affects the order in which axes are accessed using indexing (grid[index]).  
axes_padfloat or (float, float), default: 0.02


Padding or (horizontal padding, vertical padding) between axes, in inches.  
share_allbool, default: False


Whether all axes share their x- and y-axis. Overrides share_x and share_y.  
share_xbool, default: True


Whether all axes of a column share their x-axis.  
share_ybool, default: True


Whether all axes of a row share their y-axis.  
label_mode{"L", "1", "all"}, default: "L"


Determines which axes will get tick labels:  "L": All axes on the left column get vertical tick labels; all axes on the bottom row get horizontal tick labels. "1": Only the bottom left axes is labelled. "all": all axes are labelled.   
axes_classsubclass of matplotlib.axes.Axes, default: None


aspectbool, default: False


Whether the axes aspect ratio follows the aspect ratio of the data limits.       get_aspect()[source]
 
Return the aspect of the SubplotDivider. 
   get_axes_locator()[source]

   get_axes_pad()[source]
 
Return the axes padding.  Returns 
 hpad, vpad

Padding (horizontal pad, vertical pad) in inches.     
   get_divider()[source]

   get_geometry()[source]
 
Return the number of rows and columns of the grid as (nrows, ncols). 
   get_vsize_hsize()[source]
 
[Deprecated] Notes  Deprecated since version 3.5:   
   set_aspect(aspect)[source]
 
Set the aspect of the SubplotDivider. 
   set_axes_locator(locator)[source]

   set_axes_pad(axes_pad)[source]
 
Set the padding between the axes.  Parameters 
 
axes_pad(float, float)


The padding (horizontal pad, vertical pad) in inches.     
   set_label_mode(mode)[source]
 
Define which axes have tick labels.  Parameters 
 
mode{"L", "1", "all"}


The label mode:  "L": All axes on the left column get vertical tick labels; all axes on the bottom row get horizontal tick labels. "1": Only the bottom left axes is labelled. "all": all axes are labelled.
get_axes_pad()[source]
 
Return the axes padding.  Returns 
 hpad, vpad

Padding (horizontal pad, vertical pad) in inches.
get_geometry()[source]
 
Return the number of rows and columns of the grid as (nrows, ncols).
set_aspect(aspect)[source]
 
Set the aspect of the SubplotDivider.
set_axes_pad(axes_pad)[source]
 
Set the padding between the axes.  Parameters 
 
axes_pad(float, float)


The padding (horizontal pad, vertical pad) in inches.
set_label_mode(mode)[source]
 
Define which axes have tick labels.  Parameters 
 
mode{"L", "1", "all"}


The label mode:  "L": All axes on the left column get vertical tick labels; all axes on the bottom row get horizontal tick labels. "1": Only the bottom left axes is labelled. "all": all axes are labelled.
mpl_toolkits.axes_grid1.axes_grid.ImageGrid   classmpl_toolkits.axes_grid1.axes_grid.ImageGrid(fig, rect, nrows_ncols, ngrids=None, direction='row', axes_pad=0.02, *, share_all=False, aspect=True, label_mode='L', cbar_mode=None, cbar_location='right', cbar_pad=None, cbar_size='5%', cbar_set_cax=True, axes_class=None)[source]
 
Bases: mpl_toolkits.axes_grid1.axes_grid.Grid  Parameters 
 
figFigure


The parent figure.  
rect(float, float, float, float) or int


The axes position, as a (left, bottom, width, height) tuple or as a three-digit subplot position code (e.g., "121").  
nrows_ncols(int, int)


Number of rows and columns in the grid.  
ngridsint or None, default: None


If not None, only the first ngrids axes in the grid are created.  
direction{"row", "column"}, default: "row"


Whether axes are created in row-major ("row by row") or column-major order ("column by column"). This also affects the order in which axes are accessed using indexing (grid[index]).  
axes_padfloat or (float, float), default: 0.02in


Padding or (horizontal padding, vertical padding) between axes, in inches.  
share_allbool, default: False


Whether all axes share their x- and y-axis.  
aspectbool, default: True


Whether the axes aspect ratio follows the aspect ratio of the data limits.  
label_mode{"L", "1", "all"}, default: "L"


Determines which axes will get tick labels:  "L": All axes on the left column get vertical tick labels; all axes on the bottom row get horizontal tick labels. "1": Only the bottom left axes is labelled. "all": all axes are labelled.   
cbar_mode{"each", "single", "edge", None}, default: None


Whether to create a colorbar for "each" axes, a "single" colorbar for the entire grid, colorbars only for axes on the "edge" determined by cbar_location, or no colorbars. The colorbars are stored in the cbar_axes attribute.  
cbar_location{"left", "right", "bottom", "top"}, default: "right"


cbar_padfloat, default: None


Padding between the image axes and the colorbar axes.  
cbar_sizesize specification (see Size.from_any), default: "5%"


Colorbar size.  
cbar_set_caxbool, default: True


If True, each axes in the grid has a cax attribute that is bound to associated cbar_axes.  
axes_classsubclass of matplotlib.axes.Axes, default: None
mpl_toolkits.axes_grid1.axes_rgb  Classes  
RGBAxes(*args[, pad]) 4-panel imshow (RGB, R, G, B).     Functions  
make_rgb_axes(ax[, pad, axes_class]) 
 Parameters
mpl_toolkits.axes_grid1.axes_rgb.make_rgb_axes   mpl_toolkits.axes_grid1.axes_rgb.make_rgb_axes(ax, pad=0.01, axes_class=None, **kwargs)[source]
 
 Parameters 
 
padfloat


Fraction of the axes height.     
  Examples using mpl_toolkits.axes_grid1.axes_rgb.make_rgb_axes
 
   Showing RGB channels using RGBAxes
mpl_toolkits.axes_grid1.axes_rgb.RGBAxes   classmpl_toolkits.axes_grid1.axes_rgb.RGBAxes(*args, pad=0, **kwargs)[source]
 
Bases: object 4-panel imshow (RGB, R, G, B). Layout:  
RGB R  
G  
B   Subclasses can override the _defaultAxesClass attribute.  Attributes 
 
RGB_defaultAxesClass


The axes object for the three-channel imshow.  
R_defaultAxesClass


The axes object for the red channel imshow.  
G_defaultAxesClass


The axes object for the green channel imshow.  
B_defaultAxesClass


The axes object for the blue channel imshow.      Parameters 
 
padfloat, default: 0


fraction of the axes height to put as padding.  
axes_classmatplotlib.axes.Axes

*args

Unpacked into axes_class() init for RGB  **kwargs

Unpacked into axes_class() init for RGB, R, G, B axes       imshow_rgb(r, g, b, **kwargs)[source]
 
Create the four images {rgb, r, g, b}.  Parameters 
 
r, g, barray-like


The red, green, and blue arrays.  
kwargsimshow kwargs


kwargs get unpacked into the imshow calls for the four images.    Returns 
 
rgbmatplotlib.image.AxesImage


rmatplotlib.image.AxesImage


gmatplotlib.image.AxesImage


bmatplotlib.image.AxesImage

   
 
  Examples using mpl_toolkits.axes_grid1.axes_rgb.RGBAxes
 
   Showing RGB channels using RGBAxes
imshow_rgb(r, g, b, **kwargs)[source]
 
Create the four images {rgb, r, g, b}.  Parameters 
 
r, g, barray-like


The red, green, and blue arrays.  
kwargsimshow kwargs


kwargs get unpacked into the imshow calls for the four images.    Returns 
 
rgbmatplotlib.image.AxesImage


rmatplotlib.image.AxesImage


gmatplotlib.image.AxesImage


bmatplotlib.image.AxesImage
mpl_toolkits.axes_grid1.axes_size Provides classes of simple units that will be used with AxesDivider class (or others) to determine the size of each axes. The unit classes define get_size method that returns a tuple of two floats, meaning relative and absolute sizes, respectively. Note that this class is nothing more than a simple tuple of two floats. Take a look at the Divider class to see how these two values are used.  Classes  
Add(a, b)   
AddList(add_list)   
AxesX(axes[, aspect, ref_ax]) Scaled size whose relative part corresponds to the data width of the axes multiplied by the aspect.  
AxesY(axes[, aspect, ref_ax]) Scaled size whose relative part corresponds to the data height of the axes multiplied by the aspect.  
Fixed(fixed_size) Simple fixed size with absolute part = fixed_size and relative part = 0.  
Fraction(fraction, ref_size) An instance whose size is a fraction of the ref_size.  
GetExtentHelper(ax, direction)   
MaxExtent(artist_list, w_or_h) Size whose absolute part is either the largest width or the largest height of the given artist_list.  
MaxHeight(artist_list) Size whose absolute part is the largest height of the given artist_list.  
MaxWidth(artist_list) Size whose absolute part is the largest width of the given artist_list.  
Padded(size, pad) Return a instance where the absolute part of size is increase by the amount of pad.  
Scalable alias of mpl_toolkits.axes_grid1.axes_size.Scaled  
Scaled(scalable_size) Simple scaled(?) size with absolute part = 0 and relative part = scalable_size.  
SizeFromFunc(func)      Functions  
from_any(size[, fraction_ref]) Create a Fixed unit when the first argument is a float, or a Fraction unit if that is a string that ends with %.
mpl_toolkits.axes_grid1.axes_size.Add   classmpl_toolkits.axes_grid1.axes_size.Add(a, b)[source]
 
Bases: mpl_toolkits.axes_grid1.axes_size._Base   get_size(renderer)[source]
mpl_toolkits.axes_grid1.axes_size.AddList   classmpl_toolkits.axes_grid1.axes_size.AddList(add_list)[source]
 
Bases: mpl_toolkits.axes_grid1.axes_size._Base   get_size(renderer)[source]
mpl_toolkits.axes_grid1.axes_size.AxesX   classmpl_toolkits.axes_grid1.axes_size.AxesX(axes, aspect=1.0, ref_ax=None)[source]
 
Bases: mpl_toolkits.axes_grid1.axes_size._Base Scaled size whose relative part corresponds to the data width of the axes multiplied by the aspect.   get_size(renderer)[source]

 
  Examples using mpl_toolkits.axes_grid1.axes_size.AxesX
 
   HBoxDivider demo   

   Simple Axes Divider 3
mpl_toolkits.axes_grid1.axes_size.AxesY   classmpl_toolkits.axes_grid1.axes_size.AxesY(axes, aspect=1.0, ref_ax=None)[source]
 
Bases: mpl_toolkits.axes_grid1.axes_size._Base Scaled size whose relative part corresponds to the data height of the axes multiplied by the aspect.   get_size(renderer)[source]

 
  Examples using mpl_toolkits.axes_grid1.axes_size.AxesY
 
   HBoxDivider demo   

   Simple Axes Divider 3
mpl_toolkits.axes_grid1.axes_size.Fixed   classmpl_toolkits.axes_grid1.axes_size.Fixed(fixed_size)[source]
 
Bases: mpl_toolkits.axes_grid1.axes_size._Base Simple fixed size with absolute part = fixed_size and relative part = 0.   get_size(renderer)[source]

 
  Examples using mpl_toolkits.axes_grid1.axes_size.Fixed
 
   HBoxDivider demo   

   Axes with a fixed physical size   

   Simple Axes Divider 1   

   Simple Axes Divider 3
mpl_toolkits.axes_grid1.axes_size.Fraction   classmpl_toolkits.axes_grid1.axes_size.Fraction(fraction, ref_size)[source]
 
Bases: mpl_toolkits.axes_grid1.axes_size._Base An instance whose size is a fraction of the ref_size. >>> s = Fraction(0.3, AxesX(ax))
   get_size(renderer)[source]
mpl_toolkits.axes_grid1.axes_size.from_any   mpl_toolkits.axes_grid1.axes_size.from_any(size, fraction_ref=None)[source]
 
Create a Fixed unit when the first argument is a float, or a Fraction unit if that is a string that ends with %. The second argument is only meaningful when Fraction unit is created. >>> a = Size.from_any(1.2) # => Size.Fixed(1.2)
>>> Size.from_any("50%", a) # => Size.Fraction(0.5, a)
mpl_toolkits.axes_grid1.axes_size.GetExtentHelper   classmpl_toolkits.axes_grid1.axes_size.GetExtentHelper(ax, direction)[source]
 
Bases: object   __call__(renderer)[source]
 
Call self as a function.
mpl_toolkits.axes_grid1.axes_size.MaxExtent   classmpl_toolkits.axes_grid1.axes_size.MaxExtent(artist_list, w_or_h)[source]
 
Bases: mpl_toolkits.axes_grid1.axes_size._Base Size whose absolute part is either the largest width or the largest height of the given artist_list.   add_artist(a)[source]

   get_size(renderer)[source]
mpl_toolkits.axes_grid1.axes_size.MaxHeight   classmpl_toolkits.axes_grid1.axes_size.MaxHeight(artist_list)[source]
 
Bases: mpl_toolkits.axes_grid1.axes_size.MaxExtent Size whose absolute part is the largest height of the given artist_list.
mpl_toolkits.axes_grid1.axes_size.MaxWidth   classmpl_toolkits.axes_grid1.axes_size.MaxWidth(artist_list)[source]
 
Bases: mpl_toolkits.axes_grid1.axes_size.MaxExtent Size whose absolute part is the largest width of the given artist_list.
mpl_toolkits.axes_grid1.axes_size.Padded   classmpl_toolkits.axes_grid1.axes_size.Padded(size, pad)[source]
 
Bases: mpl_toolkits.axes_grid1.axes_size._Base Return a instance where the absolute part of size is increase by the amount of pad.   get_size(renderer)[source]
mpl_toolkits.axes_grid1.axes_size.Scalable   mpl_toolkits.axes_grid1.axes_size.Scalable[source]
 
alias of mpl_toolkits.axes_grid1.axes_size.Scaled
mpl_toolkits.axes_grid1.axes_size.Scaled   classmpl_toolkits.axes_grid1.axes_size.Scaled(scalable_size)[source]
 
Bases: mpl_toolkits.axes_grid1.axes_size._Base Simple scaled(?) size with absolute part = 0 and relative part = scalable_size.   get_size(renderer)[source]

 
  Examples using mpl_toolkits.axes_grid1.axes_size.Scaled
 
   HBoxDivider demo   

   Axes with a fixed physical size   

   Simple Axes Divider 1
mpl_toolkits.axes_grid1.axes_size.SizeFromFunc   classmpl_toolkits.axes_grid1.axes_size.SizeFromFunc(func)[source]
 
Bases: mpl_toolkits.axes_grid1.axes_size._Base   get_size(renderer)[source]
mpl_toolkits.axes_grid1.inset_locator A collection of functions and objects for creating or placing inset axes.  Classes  
AnchoredLocatorBase(bbox_to_anchor, ...[, ...]) 
 Parameters    
AnchoredSizeLocator(bbox_to_anchor, x_size, ...) 
 Parameters    
AnchoredZoomLocator(parent_axes, zoom, loc) 
 Parameters    
BboxConnector(bbox1, bbox2, loc1[, loc2]) Connect two bboxes with a straight line.  
BboxConnectorPatch(bbox1, bbox2, loc1a, ...) Connect two bboxes with a quadrilateral.  
BboxPatch(bbox, **kwargs) Patch showing the shape bounded by a Bbox.  
InsetPosition(parent, lbwh) An object for positioning an inset axes.     Functions  
inset_axes(parent_axes, width, height[, ...]) Create an inset axes with a given width and height.  
mark_inset(parent_axes, inset_axes, loc1, ...) Draw a box to mark the location of an area represented by an inset axes.  
zoomed_inset_axes(parent_axes, zoom[, loc, ...]) Create an anchored inset axes by scaling a parent axes.
mpl_toolkits.axes_grid1.inset_locator.AnchoredLocatorBase   classmpl_toolkits.axes_grid1.inset_locator.AnchoredLocatorBase(bbox_to_anchor, offsetbox, loc, borderpad=0.5, bbox_transform=None)[source]
 
Bases: matplotlib.offsetbox.AnchoredOffsetbox  Parameters 
 
locstr


The box location. Valid locations are 'upper left', 'upper center', 'upper right', 'center left', 'center', 'center right', 'lower left', 'lower center, 'lower right'. For backward compatibility, numeric values are accepted as well. See the parameter loc of Legend for details.  
padfloat, default: 0.4


Padding around the child as fraction of the fontsize.  
borderpadfloat, default: 0.5


Padding between the offsetbox frame and the bbox_to_anchor.  
childOffsetBox


The box that will be anchored.  
propFontProperties


This is only used as a reference for paddings. If not given, rcParams["legend.fontsize"] (default: 'medium') is used.  
frameonbool


Whether to draw a frame around the box.  
bbox_to_anchorBboxBase, 2-tuple, or 4-tuple of floats


Box that is used to position the legend in conjunction with loc.  
bbox_transformNone or matplotlib.transforms.Transform


The transform for the bounding box (bbox_to_anchor).  **kwargs

All other parameters are passed on to OffsetBox.     Notes See Legend for a detailed description of the anchoring mechanism.   __call__(ax, renderer)[source]
 
Call self as a function. 
   draw(renderer)[source]
 
Update the location of children if necessary and draw them to the given renderer. 
   set(*, agg_filter=<UNSET>, alpha=<UNSET>, animated=<UNSET>, bbox_to_anchor=<UNSET>, child=<UNSET>, clip_box=<UNSET>, clip_on=<UNSET>, clip_path=<UNSET>, gid=<UNSET>, height=<UNSET>, in_layout=<UNSET>, label=<UNSET>, offset=<UNSET>, path_effects=<UNSET>, picker=<UNSET>, rasterized=<UNSET>, sketch_params=<UNSET>, snap=<UNSET>, transform=<UNSET>, url=<UNSET>, visible=<UNSET>, width=<UNSET>, zorder=<UNSET>)[source]
 
Set multiple properties at once. Supported properties are   
Property Description   
agg_filter a filter function, which takes a (m, n, 3) float array and a dpi value, and returns a (m, n, 3) array  
alpha scalar or None  
animated bool  
bbox_to_anchor unknown  
child unknown  
clip_box Bbox  
clip_on bool  
clip_path Patch or (Path, Transform) or None  
figure Figure  
gid str  
height float  
in_layout bool  
label object  
offset (float, float) or callable  
path_effects AbstractPathEffect  
picker None or bool or float or callable  
rasterized bool  
sketch_params (scale: float, length: float, randomness: float)  
snap bool or None  
transform Transform  
url str  
visible bool  
width float  
zorder float
draw(renderer)[source]
 
Update the location of children if necessary and draw them to the given renderer.
mpl_toolkits.axes_grid1.inset_locator.AnchoredSizeLocator   classmpl_toolkits.axes_grid1.inset_locator.AnchoredSizeLocator(bbox_to_anchor, x_size, y_size, loc, borderpad=0.5, bbox_transform=None)[source]
 
Bases: mpl_toolkits.axes_grid1.inset_locator.AnchoredLocatorBase  Parameters 
 
locstr


The box location. Valid locations are 'upper left', 'upper center', 'upper right', 'center left', 'center', 'center right', 'lower left', 'lower center, 'lower right'. For backward compatibility, numeric values are accepted as well. See the parameter loc of Legend for details.  
padfloat, default: 0.4


Padding around the child as fraction of the fontsize.  
borderpadfloat, default: 0.5


Padding between the offsetbox frame and the bbox_to_anchor.  
childOffsetBox


The box that will be anchored.  
propFontProperties


This is only used as a reference for paddings. If not given, rcParams["legend.fontsize"] (default: 'medium') is used.  
frameonbool


Whether to draw a frame around the box.  
bbox_to_anchorBboxBase, 2-tuple, or 4-tuple of floats


Box that is used to position the legend in conjunction with loc.  
bbox_transformNone or matplotlib.transforms.Transform


The transform for the bounding box (bbox_to_anchor).  **kwargs

All other parameters are passed on to OffsetBox.     Notes See Legend for a detailed description of the anchoring mechanism.   get_extent(renderer)[source]
 
Return the extent of the box as (width, height, x, y). This is the extent of the child plus the padding. 
   set(*, agg_filter=<UNSET>, alpha=<UNSET>, animated=<UNSET>, bbox_to_anchor=<UNSET>, child=<UNSET>, clip_box=<UNSET>, clip_on=<UNSET>, clip_path=<UNSET>, gid=<UNSET>, height=<UNSET>, in_layout=<UNSET>, label=<UNSET>, offset=<UNSET>, path_effects=<UNSET>, picker=<UNSET>, rasterized=<UNSET>, sketch_params=<UNSET>, snap=<UNSET>, transform=<UNSET>, url=<UNSET>, visible=<UNSET>, width=<UNSET>, zorder=<UNSET>)[source]
 
Set multiple properties at once. Supported properties are   
Property Description   
agg_filter a filter function, which takes a (m, n, 3) float array and a dpi value, and returns a (m, n, 3) array  
alpha scalar or None  
animated bool  
bbox_to_anchor unknown  
child unknown  
clip_box Bbox  
clip_on bool  
clip_path Patch or (Path, Transform) or None  
figure Figure  
gid str  
height float  
in_layout bool  
label object  
offset (float, float) or callable  
path_effects AbstractPathEffect  
picker None or bool or float or callable  
rasterized bool  
sketch_params (scale: float, length: float, randomness: float)  
snap bool or None  
transform Transform  
url str  
visible bool  
width float  
zorder float
get_extent(renderer)[source]
 
Return the extent of the box as (width, height, x, y). This is the extent of the child plus the padding.
mpl_toolkits.axes_grid1.inset_locator.AnchoredZoomLocator   classmpl_toolkits.axes_grid1.inset_locator.AnchoredZoomLocator(parent_axes, zoom, loc, borderpad=0.5, bbox_to_anchor=None, bbox_transform=None)[source]
 
Bases: mpl_toolkits.axes_grid1.inset_locator.AnchoredLocatorBase  Parameters 
 
locstr


The box location. Valid locations are 'upper left', 'upper center', 'upper right', 'center left', 'center', 'center right', 'lower left', 'lower center, 'lower right'. For backward compatibility, numeric values are accepted as well. See the parameter loc of Legend for details.  
padfloat, default: 0.4


Padding around the child as fraction of the fontsize.  
borderpadfloat, default: 0.5


Padding between the offsetbox frame and the bbox_to_anchor.  
childOffsetBox


The box that will be anchored.  
propFontProperties


This is only used as a reference for paddings. If not given, rcParams["legend.fontsize"] (default: 'medium') is used.  
frameonbool


Whether to draw a frame around the box.  
bbox_to_anchorBboxBase, 2-tuple, or 4-tuple of floats


Box that is used to position the legend in conjunction with loc.  
bbox_transformNone or matplotlib.transforms.Transform


The transform for the bounding box (bbox_to_anchor).  **kwargs

All other parameters are passed on to OffsetBox.     Notes See Legend for a detailed description of the anchoring mechanism.   get_extent(renderer)[source]
 
Return the extent of the box as (width, height, x, y). This is the extent of the child plus the padding. 
   set(*, agg_filter=<UNSET>, alpha=<UNSET>, animated=<UNSET>, bbox_to_anchor=<UNSET>, child=<UNSET>, clip_box=<UNSET>, clip_on=<UNSET>, clip_path=<UNSET>, gid=<UNSET>, height=<UNSET>, in_layout=<UNSET>, label=<UNSET>, offset=<UNSET>, path_effects=<UNSET>, picker=<UNSET>, rasterized=<UNSET>, sketch_params=<UNSET>, snap=<UNSET>, transform=<UNSET>, url=<UNSET>, visible=<UNSET>, width=<UNSET>, zorder=<UNSET>)[source]
 
Set multiple properties at once. Supported properties are   
Property Description   
agg_filter a filter function, which takes a (m, n, 3) float array and a dpi value, and returns a (m, n, 3) array  
alpha scalar or None  
animated bool  
bbox_to_anchor unknown  
child unknown  
clip_box Bbox  
clip_on bool  
clip_path Patch or (Path, Transform) or None  
figure Figure  
gid str  
height float  
in_layout bool  
label object  
offset (float, float) or callable  
path_effects AbstractPathEffect  
picker None or bool or float or callable  
rasterized bool  
sketch_params (scale: float, length: float, randomness: float)  
snap bool or None  
transform Transform  
url str  
visible bool  
width float  
zorder float
staticconnect_bbox(bbox1, bbox2, loc1, loc2=None)[source]
 
Helper function to obtain a Path from one bbox to another.  Parameters 
 
bbox1, bbox2matplotlib.transforms.Bbox


Bounding boxes to connect.  
loc1{1, 2, 3, 4}


Corner of bbox1 to use. Valid values are: 'upper right'  : 1,
'upper left'   : 2,
'lower left'   : 3,
'lower right'  : 4
  
loc2{1, 2, 3, 4}, optional


Corner of bbox2 to use. If None, defaults to loc1. Valid values are: 'upper right'  : 1,
'upper left'   : 2,
'lower left'   : 3,
'lower right'  : 4
    Returns 
 
pathmatplotlib.path.Path


A line segment from the loc1 corner of bbox1 to the loc2 corner of bbox2.
staticget_bbox_edge_pos(bbox, loc)[source]
 
Helper function to obtain the location of a corner of a bbox  Parameters 
 
bboxmatplotlib.transforms.Bbox


loc{1, 2, 3, 4}


Corner of bbox. Valid values are: 'upper right'  : 1,
'upper left'   : 2,
'lower left'   : 3,
'lower right'  : 4
    Returns 
 
x, yfloat


Coordinates of the corner specified by loc.