doc_content stringlengths 1 386k | doc_id stringlengths 5 188 |
|---|---|
matplotlib.axes.Axes.vlines Axes.vlines(x, ymin, ymax, colors=None, linestyles='solid', label='', *, data=None, **kwargs)[source]
Plot vertical lines at each x from ymin to ymax. Parameters
xfloat or array-like
x-indexes where to plot the lines.
ymin, ymaxfloat or array-like
Respective beginning and end o... | matplotlib._as_gen.matplotlib.axes.axes.vlines |
matplotlib.axes.Axes.xaxis_date Axes.xaxis_date(tz=None)[source]
Set up axis ticks and labels to treat data along the xaxis as dates. Parameters
tzstr or datetime.tzinfo, default: rcParams["timezone"] (default: 'UTC')
The timezone used to create date labels. | matplotlib._as_gen.matplotlib.axes.axes.xaxis_date |
matplotlib.axes.Axes.xaxis_inverted Axes.xaxis_inverted()[source]
Return whether the xaxis is oriented in the "inverse" direction. The "normal" direction is increasing to the right for the x-axis and to the top for the y-axis; the "inverse" direction is increasing to the left for the x-axis and to the bottom for th... | matplotlib._as_gen.matplotlib.axes.axes.xaxis_inverted |
matplotlib.axes.Axes.xcorr Axes.xcorr(x, y, normed=True, detrend=<function detrend_none>, usevlines=True, maxlags=10, *, data=None, **kwargs)[source]
Plot the cross correlation between x and y. The correlation with lag k is defined as \(\sum_n x[n+k] \cdot y^*[n]\), where \(y^*\) is the complex conjugate of \(y\). ... | matplotlib._as_gen.matplotlib.axes.axes.xcorr |
matplotlib.axes.Axes.yaxis_date Axes.yaxis_date(tz=None)[source]
Set up axis ticks and labels to treat data along the yaxis as dates. Parameters
tzstr or datetime.tzinfo, default: rcParams["timezone"] (default: 'UTC')
The timezone used to create date labels. | matplotlib._as_gen.matplotlib.axes.axes.yaxis_date |
matplotlib.axes.Axes.yaxis_inverted Axes.yaxis_inverted()[source]
Return whether the yaxis is oriented in the "inverse" direction. The "normal" direction is increasing to the right for the x-axis and to the top for the y-axis; the "inverse" direction is increasing to the left for the x-axis and to the bottom for th... | matplotlib._as_gen.matplotlib.axes.axes.yaxis_inverted |
matplotlib.axes.Axes.zorder Axes.zorder=0 | matplotlib._as_gen.matplotlib.axes.axes.zorder |
matplotlib.axes.subplot_class_factory matplotlib.axes.subplot_class_factory(axes_class)[source] | matplotlib._as_gen.matplotlib.axes.subplot_class_factory |
matplotlib.axes.SubplotBase classmatplotlib.axes.SubplotBase(fig, *args, **kwargs)[source]
Bases: object Base class for subplots, which are Axes instances with additional methods to facilitate generating and manipulating a set of Axes within a figure. Parameters
figmatplotlib.figure.Figure
*argstuple (nrows, ... | matplotlib._as_gen.matplotlib.axes.subplotbase |
change_geometry(numrows, numcols, num)[source]
[Deprecated] Change subplot geometry, e.g., from (1, 1, 1) to (2, 2, 3). Notes Deprecated since version 3.4. | matplotlib._as_gen.matplotlib.axes.subplotbase#matplotlib.axes.SubplotBase.change_geometry |
get_geometry()[source]
[Deprecated] Get the subplot geometry, e.g., (2, 2, 3). Notes Deprecated since version 3.4. | matplotlib._as_gen.matplotlib.axes.subplotbase#matplotlib.axes.SubplotBase.get_geometry |
get_gridspec()[source]
Return the GridSpec instance associated with the subplot. | matplotlib._as_gen.matplotlib.axes.subplotbase#matplotlib.axes.SubplotBase.get_gridspec |
get_subplotspec()[source]
Return the SubplotSpec instance associated with the subplot. | matplotlib._as_gen.matplotlib.axes.subplotbase#matplotlib.axes.SubplotBase.get_subplotspec |
is_first_col()[source]
[Deprecated] Notes Deprecated since version 3.4: | matplotlib._as_gen.matplotlib.axes.subplotbase#matplotlib.axes.SubplotBase.is_first_col |
is_first_row()[source]
[Deprecated] Notes Deprecated since version 3.4: | matplotlib._as_gen.matplotlib.axes.subplotbase#matplotlib.axes.SubplotBase.is_first_row |
is_last_col()[source]
[Deprecated] Notes Deprecated since version 3.4: | matplotlib._as_gen.matplotlib.axes.subplotbase#matplotlib.axes.SubplotBase.is_last_col |
is_last_row()[source]
[Deprecated] Notes Deprecated since version 3.4: | matplotlib._as_gen.matplotlib.axes.subplotbase#matplotlib.axes.SubplotBase.is_last_row |
label_outer()[source]
Only show "outer" labels and tick labels. x-labels are only kept for subplots on the last row (or first row, if labels are on the top side); y-labels only for subplots on the first column (or last column, if labels are on the right side). | matplotlib._as_gen.matplotlib.axes.subplotbase#matplotlib.axes.SubplotBase.label_outer |
set_subplotspec(subplotspec)[source]
Set the SubplotSpec. instance associated with the subplot. | matplotlib._as_gen.matplotlib.axes.subplotbase#matplotlib.axes.SubplotBase.set_subplotspec |
update_params()[source]
[Deprecated] Update the subplot position from self.figure.subplotpars. Notes Deprecated since version 3.4. | matplotlib._as_gen.matplotlib.axes.subplotbase#matplotlib.axes.SubplotBase.update_params |
mpl_toolkits.axes_grid Note AxesGrid has been a part of matplotlib since v 0.99. Originally, the toolkit used the axes_grid namespace. In more recent versions, the toolkit has been split into axes_grid1 and axisartist. While axes_grid is maintained for the backward compatibility, use of axes_grid1 and axisartist is re... | matplotlib.toolkits.axes_grid |
mpl_toolkits.axes_grid1 mpl_toolkits.axes_grid1 provides a framework of helper classes to adjust the positioning of multiple fixed-aspect Axes (e.g., displaying images). It can be contrasted with the aspect property of Matplotlib Axes, which adjusts the position of a single Axes. See Overview of mpl_toolkits.axes_grid1... | matplotlib.toolkits.axes_grid1 |
mpl_toolkits.axes_grid1.anchored_artists Classes
AnchoredAuxTransformBox(transform, loc[, ...]) An anchored container with transformed coordinates.
AnchoredDirectionArrows(transform, label_x, ...) Draw two perpendicular arrows to indicate directions.
AnchoredDrawingArea(width, height, xdescent, ...) An anchored ... | matplotlib._as_gen.mpl_toolkits.axes_grid1.anchored_artists |
mpl_toolkits.axes_grid1.anchored_artists.AnchoredAuxTransformBox classmpl_toolkits.axes_grid1.anchored_artists.AnchoredAuxTransformBox(transform, loc, pad=0.4, borderpad=0.5, prop=None, frameon=True, **kwargs)[source]
Bases: matplotlib.offsetbox.AnchoredOffsetbox An anchored container with transformed coordinates. ... | matplotlib._as_gen.mpl_toolkits.axes_grid1.anchored_artists.anchoredauxtransformbox |
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=<U... | matplotlib._as_gen.mpl_toolkits.axes_grid1.anchored_artists.anchoredauxtransformbox#mpl_toolkits.axes_grid1.anchored_artists.AnchoredAuxTransformBox.set |
mpl_toolkits.axes_grid1.anchored_artists.AnchoredDirectionArrows classmpl_toolkits.axes_grid1.anchored_artists.AnchoredDirectionArrows(transform, label_x, label_y, length=0.15, fontsize=0.08, loc='upper left', angle=0, aspect_ratio=1, pad=0.4, borderpad=0.4, frameon=False, color='w', alpha=1, sep_x=0.01, sep_y=0, fon... | matplotlib._as_gen.mpl_toolkits.axes_grid1.anchored_artists.anchoreddirectionarrows |
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=<U... | matplotlib._as_gen.mpl_toolkits.axes_grid1.anchored_artists.anchoreddirectionarrows#mpl_toolkits.axes_grid1.anchored_artists.AnchoredDirectionArrows.set |
mpl_toolkits.axes_grid1.anchored_artists.AnchoredDrawingArea classmpl_toolkits.axes_grid1.anchored_artists.AnchoredDrawingArea(width, height, xdescent, ydescent, loc, pad=0.4, borderpad=0.5, prop=None, frameon=True, **kwargs)[source]
Bases: matplotlib.offsetbox.AnchoredOffsetbox An anchored container with a fixed s... | matplotlib._as_gen.mpl_toolkits.axes_grid1.anchored_artists.anchoreddrawingarea |
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=<U... | matplotlib._as_gen.mpl_toolkits.axes_grid1.anchored_artists.anchoreddrawingarea#mpl_toolkits.axes_grid1.anchored_artists.AnchoredDrawingArea.set |
mpl_toolkits.axes_grid1.anchored_artists.AnchoredEllipse classmpl_toolkits.axes_grid1.anchored_artists.AnchoredEllipse(transform, width, height, angle, loc, pad=0.1, borderpad=0.1, prop=None, frameon=True, **kwargs)[source]
Bases: matplotlib.offsetbox.AnchoredOffsetbox Draw an anchored ellipse of a given size. Par... | matplotlib._as_gen.mpl_toolkits.axes_grid1.anchored_artists.anchoredellipse |
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=<U... | matplotlib._as_gen.mpl_toolkits.axes_grid1.anchored_artists.anchoredellipse#mpl_toolkits.axes_grid1.anchored_artists.AnchoredEllipse.set |
mpl_toolkits.axes_grid1.anchored_artists.AnchoredSizeBar classmpl_toolkits.axes_grid1.anchored_artists.AnchoredSizeBar(transform, size, label, loc, pad=0.1, borderpad=0.1, sep=2, frameon=True, size_vertical=0, color='black', label_top=False, fontproperties=None, fill_bar=None, **kwargs)[source]
Bases: matplotlib.of... | matplotlib._as_gen.mpl_toolkits.axes_grid1.anchored_artists.anchoredsizebar |
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=<U... | matplotlib._as_gen.mpl_toolkits.axes_grid1.anchored_artists.anchoredsizebar#mpl_toolkits.axes_grid1.anchored_artists.AnchoredSizeBar.set |
mpl_toolkits.axes_grid1.axes_divider Helper classes to adjust the positions of multiple axes at drawing time. Classes
AxesDivider(axes[, xref, yref]) Divider based on the pre-existing axes.
AxesLocator(axes_divider, nx, ny[, nx1, ny1]) A callable object which returns the position and size of a given AxesDivider ce... | matplotlib._as_gen.mpl_toolkits.axes_grid1.axes_divider |
mpl_toolkits.axes_grid1.axes_divider.AxesDivider classmpl_toolkits.axes_grid1.axes_divider.AxesDivider(axes, xref=None, yref=None)[source]
Bases: mpl_toolkits.axes_grid1.axes_divider.Divider Divider based on the pre-existing axes. Parameters
axesAxes
xref
yref
append_axes(position, size, pad=None, add_to_... | matplotlib._as_gen.mpl_toolkits.axes_grid1.axes_divider.axesdivider |
append_axes(position, size, pad=None, add_to_figure=<deprecated parameter>, **kwargs)[source]
Create an axes at the given position with the same height (or width) of the main axes. position
["left"|"right"|"bottom"|"top"] size and pad should be axes_grid.axes_size compatible. | matplotlib._as_gen.mpl_toolkits.axes_grid1.axes_divider.axesdivider#mpl_toolkits.axes_grid1.axes_divider.AxesDivider.append_axes |
get_anchor()[source]
Return the anchor. | matplotlib._as_gen.mpl_toolkits.axes_grid1.axes_divider.axesdivider#mpl_toolkits.axes_grid1.axes_divider.AxesDivider.get_anchor |
get_aspect()[source]
Return aspect. | matplotlib._as_gen.mpl_toolkits.axes_grid1.axes_divider.axesdivider#mpl_toolkits.axes_grid1.axes_divider.AxesDivider.get_aspect |
get_position()[source]
Return the position of the rectangle. | matplotlib._as_gen.mpl_toolkits.axes_grid1.axes_divider.axesdivider#mpl_toolkits.axes_grid1.axes_divider.AxesDivider.get_position |
get_subplotspec()[source] | matplotlib._as_gen.mpl_toolkits.axes_grid1.axes_divider.axesdivider#mpl_toolkits.axes_grid1.axes_divider.AxesDivider.get_subplotspec |
new_horizontal(size, pad=None, pack_start=False, **kwargs)[source]
Add a new axes on the right (or left) side of the main axes. Parameters
sizeaxes_size or float or str
The axes width. float or str arguments are interpreted as axes_size.from_any(size, AxesX(<main_axes>)).
padaxes_size or float or str
Paddin... | matplotlib._as_gen.mpl_toolkits.axes_grid1.axes_divider.axesdivider#mpl_toolkits.axes_grid1.axes_divider.AxesDivider.new_horizontal |
new_vertical(size, pad=None, pack_start=False, **kwargs)[source]
Add a new axes on the top (or bottom) side of the main axes. Parameters
sizeaxes_size or float or str
The axes height. float or str arguments are interpreted as axes_size.from_any(size, AxesY(<main_axes>)).
padaxes_size or float or str
Padding... | matplotlib._as_gen.mpl_toolkits.axes_grid1.axes_divider.axesdivider#mpl_toolkits.axes_grid1.axes_divider.AxesDivider.new_vertical |
mpl_toolkits.axes_grid1.axes_divider.AxesLocator classmpl_toolkits.axes_grid1.axes_divider.AxesLocator(axes_divider, nx, ny, nx1=None, ny1=None)[source]
Bases: object A callable object which returns the position and size of a given AxesDivider cell. Parameters
axes_dividerAxesDivider
nx, nx1int
Integers spe... | matplotlib._as_gen.mpl_toolkits.axes_grid1.axes_divider.axeslocator |
__call__(axes, renderer)[source]
Call self as a function. | matplotlib._as_gen.mpl_toolkits.axes_grid1.axes_divider.axeslocator#mpl_toolkits.axes_grid1.axes_divider.AxesLocator.__call__ |
get_subplotspec()[source] | matplotlib._as_gen.mpl_toolkits.axes_grid1.axes_divider.axeslocator#mpl_toolkits.axes_grid1.axes_divider.AxesLocator.get_subplotspec |
mpl_toolkits.axes_grid1.axes_divider.Divider classmpl_toolkits.axes_grid1.axes_divider.Divider(fig, pos, horizontal, vertical, aspect=None, anchor='C')[source]
Bases: object An Axes positioning class. The divider is initialized with lists of horizontal and vertical sizes (mpl_toolkits.axes_grid1.axes_size) based on... | matplotlib._as_gen.mpl_toolkits.axes_grid1.axes_divider.divider |
add_auto_adjustable_area(use_axes, pad=0.1, adjust_dirs=None)[source] | matplotlib._as_gen.mpl_toolkits.axes_grid1.axes_divider.divider#mpl_toolkits.axes_grid1.axes_divider.Divider.add_auto_adjustable_area |
append_size(position, size)[source] | matplotlib._as_gen.mpl_toolkits.axes_grid1.axes_divider.divider#mpl_toolkits.axes_grid1.axes_divider.Divider.append_size |
get_anchor()[source]
Return the anchor. | matplotlib._as_gen.mpl_toolkits.axes_grid1.axes_divider.divider#mpl_toolkits.axes_grid1.axes_divider.Divider.get_anchor |
get_aspect()[source]
Return aspect. | matplotlib._as_gen.mpl_toolkits.axes_grid1.axes_divider.divider#mpl_toolkits.axes_grid1.axes_divider.Divider.get_aspect |
get_horizontal()[source]
Return horizontal sizes. | matplotlib._as_gen.mpl_toolkits.axes_grid1.axes_divider.divider#mpl_toolkits.axes_grid1.axes_divider.Divider.get_horizontal |
get_horizontal_sizes(renderer)[source] | matplotlib._as_gen.mpl_toolkits.axes_grid1.axes_divider.divider#mpl_toolkits.axes_grid1.axes_divider.Divider.get_horizontal_sizes |
get_locator()[source] | matplotlib._as_gen.mpl_toolkits.axes_grid1.axes_divider.divider#mpl_toolkits.axes_grid1.axes_divider.Divider.get_locator |
get_position()[source]
Return the position of the rectangle. | matplotlib._as_gen.mpl_toolkits.axes_grid1.axes_divider.divider#mpl_toolkits.axes_grid1.axes_divider.Divider.get_position |
get_position_runtime(ax, renderer)[source] | matplotlib._as_gen.mpl_toolkits.axes_grid1.axes_divider.divider#mpl_toolkits.axes_grid1.axes_divider.Divider.get_position_runtime |
get_vertical()[source]
Return vertical sizes. | matplotlib._as_gen.mpl_toolkits.axes_grid1.axes_divider.divider#mpl_toolkits.axes_grid1.axes_divider.Divider.get_vertical |
get_vertical_sizes(renderer)[source] | matplotlib._as_gen.mpl_toolkits.axes_grid1.axes_divider.divider#mpl_toolkits.axes_grid1.axes_divider.Divider.get_vertical_sizes |
get_vsize_hsize()[source]
[Deprecated] Notes Deprecated since version 3.5: | matplotlib._as_gen.mpl_toolkits.axes_grid1.axes_divider.divider#mpl_toolkits.axes_grid1.axes_divider.Divider.get_vsize_hsize |
locate(nx, ny, nx1=None, ny1=None, axes=None, renderer=None)[source]
Parameters
nx, nx1int
Integers specifying the column-position of the cell. When nx1 is None, a single nx-th column is specified. Otherwise location of columns spanning between nx to nx1 (but excluding nx1-th column) is specified.
ny, ny1int
... | matplotlib._as_gen.mpl_toolkits.axes_grid1.axes_divider.divider#mpl_toolkits.axes_grid1.axes_divider.Divider.locate |
new_locator(nx, ny, nx1=None, ny1=None)[source]
Return a new AxesLocator for the specified cell. Parameters
nx, nx1int
Integers specifying the column-position of the cell. When nx1 is None, a single nx-th column is specified. Otherwise location of columns spanning between nx to nx1 (but excluding nx1-th column)... | matplotlib._as_gen.mpl_toolkits.axes_grid1.axes_divider.divider#mpl_toolkits.axes_grid1.axes_divider.Divider.new_locator |
set_anchor(anchor)[source]
Parameters
anchor(float, float) or {'C', 'SW', 'S', 'SE', 'E', 'NE', ...}
Either an (x, y) pair of relative coordinates (0 is left or bottom, 1 is right or top), 'C' (center), or a cardinal direction ('SW', southwest, is bottom left, etc.). See also Axes.set_anchor | matplotlib._as_gen.mpl_toolkits.axes_grid1.axes_divider.divider#mpl_toolkits.axes_grid1.axes_divider.Divider.set_anchor |
set_aspect(aspect=False)[source]
Parameters
aspectbool | matplotlib._as_gen.mpl_toolkits.axes_grid1.axes_divider.divider#mpl_toolkits.axes_grid1.axes_divider.Divider.set_aspect |
set_horizontal(h)[source]
Parameters
hlist of axes_size
sizes for horizontal division | matplotlib._as_gen.mpl_toolkits.axes_grid1.axes_divider.divider#mpl_toolkits.axes_grid1.axes_divider.Divider.set_horizontal |
set_locator(_locator)[source] | matplotlib._as_gen.mpl_toolkits.axes_grid1.axes_divider.divider#mpl_toolkits.axes_grid1.axes_divider.Divider.set_locator |
set_position(pos)[source]
Set the position of the rectangle. Parameters
postuple of 4 floats
position of the rectangle that will be divided | matplotlib._as_gen.mpl_toolkits.axes_grid1.axes_divider.divider#mpl_toolkits.axes_grid1.axes_divider.Divider.set_position |
set_vertical(v)[source]
Parameters
vlist of axes_size
sizes for vertical division | matplotlib._as_gen.mpl_toolkits.axes_grid1.axes_divider.divider#mpl_toolkits.axes_grid1.axes_divider.Divider.set_vertical |
mpl_toolkits.axes_grid1.axes_divider.HBoxDivider classmpl_toolkits.axes_grid1.axes_divider.HBoxDivider(fig, *args, horizontal=None, vertical=None, aspect=None, anchor='C')[source]
Bases: mpl_toolkits.axes_grid1.axes_divider.SubplotDivider A SubplotDivider for laying out axes horizontally, while ensuring that they h... | matplotlib._as_gen.mpl_toolkits.axes_grid1.axes_divider.hboxdivider |
locate(nx, ny, nx1=None, ny1=None, axes=None, renderer=None)[source]
Parameters
nx, nx1int
Integers specifying the column-position of the cell. When nx1 is None, a single nx-th column is specified. Otherwise location of columns spanning between nx to nx1 (but excluding nx1-th column) is specified.
ny, ny1int
... | matplotlib._as_gen.mpl_toolkits.axes_grid1.axes_divider.hboxdivider#mpl_toolkits.axes_grid1.axes_divider.HBoxDivider.locate |
new_locator(nx, nx1=None)[source]
Create a new AxesLocator for the specified cell. Parameters
nx, nx1int
Integers specifying the column-position of the cell. When nx1 is None, a single nx-th column is specified. Otherwise location of columns spanning between nx to nx1 (but excluding nx1-th column) is specified. | matplotlib._as_gen.mpl_toolkits.axes_grid1.axes_divider.hboxdivider#mpl_toolkits.axes_grid1.axes_divider.HBoxDivider.new_locator |
mpl_toolkits.axes_grid1.axes_divider.make_axes_area_auto_adjustable mpl_toolkits.axes_grid1.axes_divider.make_axes_area_auto_adjustable(ax, use_axes=None, pad=0.1, adjust_dirs=None)[source]
Examples using mpl_toolkits.axes_grid1.axes_divider.make_axes_area_auto_adjustable
Make Room For Ylabel Using Axesgrid | matplotlib._as_gen.mpl_toolkits.axes_grid1.axes_divider.make_axes_area_auto_adjustable |
mpl_toolkits.axes_grid1.axes_divider.make_axes_locatable mpl_toolkits.axes_grid1.axes_divider.make_axes_locatable(axes)[source] | matplotlib._as_gen.mpl_toolkits.axes_grid1.axes_divider.make_axes_locatable |
mpl_toolkits.axes_grid1.axes_divider.SubplotDivider classmpl_toolkits.axes_grid1.axes_divider.SubplotDivider(fig, *args, horizontal=None, vertical=None, aspect=None, anchor='C')[source]
Bases: mpl_toolkits.axes_grid1.axes_divider.Divider The Divider class whose rectangle area is specified as a subplot geometry. Pa... | matplotlib._as_gen.mpl_toolkits.axes_grid1.axes_divider.subplotdivider |
change_geometry(numrows, numcols, num)[source]
[Deprecated] Change subplot geometry, e.g., from (1, 1, 1) to (2, 2, 3). Notes Deprecated since version 3.4. | matplotlib._as_gen.mpl_toolkits.axes_grid1.axes_divider.subplotdivider#mpl_toolkits.axes_grid1.axes_divider.SubplotDivider.change_geometry |
get_geometry()[source]
[Deprecated] Get the subplot geometry, e.g., (2, 2, 3). Notes Deprecated since version 3.4. | matplotlib._as_gen.mpl_toolkits.axes_grid1.axes_divider.subplotdivider#mpl_toolkits.axes_grid1.axes_divider.SubplotDivider.get_geometry |
get_position()[source]
Return the bounds of the subplot box. | matplotlib._as_gen.mpl_toolkits.axes_grid1.axes_divider.subplotdivider#mpl_toolkits.axes_grid1.axes_divider.SubplotDivider.get_position |
get_subplotspec()[source]
Get the SubplotSpec instance. | matplotlib._as_gen.mpl_toolkits.axes_grid1.axes_divider.subplotdivider#mpl_toolkits.axes_grid1.axes_divider.SubplotDivider.get_subplotspec |
set_subplotspec(subplotspec)[source]
Set the SubplotSpec instance. | matplotlib._as_gen.mpl_toolkits.axes_grid1.axes_divider.subplotdivider#mpl_toolkits.axes_grid1.axes_divider.SubplotDivider.set_subplotspec |
update_params()[source]
[Deprecated] Notes Deprecated since version 3.4: | matplotlib._as_gen.mpl_toolkits.axes_grid1.axes_divider.subplotdivider#mpl_toolkits.axes_grid1.axes_divider.SubplotDivider.update_params |
mpl_toolkits.axes_grid1.axes_divider.VBoxDivider classmpl_toolkits.axes_grid1.axes_divider.VBoxDivider(fig, *args, horizontal=None, vertical=None, aspect=None, anchor='C')[source]
Bases: mpl_toolkits.axes_grid1.axes_divider.SubplotDivider A SubplotDivider for laying out axes vertically, while ensuring that they hav... | matplotlib._as_gen.mpl_toolkits.axes_grid1.axes_divider.vboxdivider |
locate(nx, ny, nx1=None, ny1=None, axes=None, renderer=None)[source]
Parameters
nx, nx1int
Integers specifying the column-position of the cell. When nx1 is None, a single nx-th column is specified. Otherwise location of columns spanning between nx to nx1 (but excluding nx1-th column) is specified.
ny, ny1int
... | matplotlib._as_gen.mpl_toolkits.axes_grid1.axes_divider.vboxdivider#mpl_toolkits.axes_grid1.axes_divider.VBoxDivider.locate |
new_locator(ny, ny1=None)[source]
Create a new AxesLocator for the specified cell. Parameters
ny, ny1int
Integers specifying the row-position of the cell. When ny1 is None, a single ny-th row is specified. Otherwise location of rows spanning between ny to ny1 (but excluding ny1-th row) is specified. | matplotlib._as_gen.mpl_toolkits.axes_grid1.axes_divider.vboxdivider#mpl_toolkits.axes_grid1.axes_divider.VBoxDivider.new_locator |
mpl_toolkits.axes_grid1.axes_grid Classes
AxesGrid alias of mpl_toolkits.axes_grid1.axes_grid.ImageGrid
CbarAxes(*args, orientation, **kwargs) [Deprecated]
CbarAxesBase(*args, orientation, **kwargs)
Grid(fig, rect, nrows_ncols[, ngrids, ...]) A grid of Axes.
ImageGrid(fig, rect, nrows_ncols[, ngrids, ...]) ... | matplotlib._as_gen.mpl_toolkits.axes_grid1.axes_grid |
mpl_toolkits.axes_grid1.axes_grid.AxesGrid mpl_toolkits.axes_grid1.axes_grid.AxesGrid[source]
alias of mpl_toolkits.axes_grid1.axes_grid.ImageGrid | matplotlib._as_gen.mpl_toolkits.axes_grid1.axes_grid.axesgrid |
mpl_toolkits.axes_grid1.axes_grid.CbarAxes classmpl_toolkits.axes_grid1.axes_grid.CbarAxes(*args, orientation, **kwargs)[source]
Bases: mpl_toolkits.axes_grid1.axes_grid.CbarAxesBase, mpl_toolkits.axes_grid1.mpl_axes.Axes [Deprecated] Notes Deprecated since version 3.5: Build an Axes in a figure. Parameters
... | matplotlib._as_gen.mpl_toolkits.axes_grid1.axes_grid.cbaraxes |
set(*, adjustable=<UNSET>, agg_filter=<UNSET>, alpha=<UNSET>, anchor=<UNSET>, animated=<UNSET>, aspect=<UNSET>, autoscale_on=<UNSET>, autoscalex_on=<UNSET>, autoscaley_on=<UNSET>, axes_locator=<UNSET>, axisbelow=<UNSET>, box_aspect=<UNSET>, clip_box=<UNSET>, clip_on=<UNSET>, clip_path=<UNSET>, facecolor=<UNSET>, frame_... | matplotlib._as_gen.mpl_toolkits.axes_grid1.axes_grid.cbaraxes#mpl_toolkits.axes_grid1.axes_grid.CbarAxes.set |
mpl_toolkits.axes_grid1.axes_grid.CbarAxesBase classmpl_toolkits.axes_grid1.axes_grid.CbarAxesBase(*args, orientation, **kwargs)[source]
Bases: object cla()[source]
colorbar(mappable, *, ticks=None, **kwargs)[source]
toggle_label(b)[source] | matplotlib._as_gen.mpl_toolkits.axes_grid1.axes_grid.cbaraxesbase |
cla()[source] | matplotlib._as_gen.mpl_toolkits.axes_grid1.axes_grid.cbaraxesbase#mpl_toolkits.axes_grid1.axes_grid.CbarAxesBase.cla |
colorbar(mappable, *, ticks=None, **kwargs)[source] | matplotlib._as_gen.mpl_toolkits.axes_grid1.axes_grid.cbaraxesbase#mpl_toolkits.axes_grid1.axes_grid.CbarAxesBase.colorbar |
toggle_label(b)[source] | matplotlib._as_gen.mpl_toolkits.axes_grid1.axes_grid.cbaraxesbase#mpl_toolkits.axes_grid1.axes_grid.CbarAxesBase.toggle_label |
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 locatio... | matplotlib._as_gen.mpl_toolkits.axes_grid1.axes_grid.grid |
get_aspect()[source]
Return the aspect of the SubplotDivider. | matplotlib._as_gen.mpl_toolkits.axes_grid1.axes_grid.grid#mpl_toolkits.axes_grid1.axes_grid.Grid.get_aspect |
get_axes_locator()[source] | matplotlib._as_gen.mpl_toolkits.axes_grid1.axes_grid.grid#mpl_toolkits.axes_grid1.axes_grid.Grid.get_axes_locator |
get_axes_pad()[source]
Return the axes padding. Returns
hpad, vpad
Padding (horizontal pad, vertical pad) in inches. | matplotlib._as_gen.mpl_toolkits.axes_grid1.axes_grid.grid#mpl_toolkits.axes_grid1.axes_grid.Grid.get_axes_pad |
get_divider()[source] | matplotlib._as_gen.mpl_toolkits.axes_grid1.axes_grid.grid#mpl_toolkits.axes_grid1.axes_grid.Grid.get_divider |
get_geometry()[source]
Return the number of rows and columns of the grid as (nrows, ncols). | matplotlib._as_gen.mpl_toolkits.axes_grid1.axes_grid.grid#mpl_toolkits.axes_grid1.axes_grid.Grid.get_geometry |
get_vsize_hsize()[source]
[Deprecated] Notes Deprecated since version 3.5: | matplotlib._as_gen.mpl_toolkits.axes_grid1.axes_grid.grid#mpl_toolkits.axes_grid1.axes_grid.Grid.get_vsize_hsize |
set_aspect(aspect)[source]
Set the aspect of the SubplotDivider. | matplotlib._as_gen.mpl_toolkits.axes_grid1.axes_grid.grid#mpl_toolkits.axes_grid1.axes_grid.Grid.set_aspect |
set_axes_locator(locator)[source] | matplotlib._as_gen.mpl_toolkits.axes_grid1.axes_grid.grid#mpl_toolkits.axes_grid1.axes_grid.Grid.set_axes_locator |
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. | matplotlib._as_gen.mpl_toolkits.axes_grid1.axes_grid.grid#mpl_toolkits.axes_grid1.axes_grid.Grid.set_axes_pad |
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. | matplotlib._as_gen.mpl_toolkits.axes_grid1.axes_grid.grid#mpl_toolkits.axes_grid1.axes_grid.Grid.set_label_mode |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.