doc_content stringlengths 1 386k | doc_id stringlengths 5 188 |
|---|---|
mpl_toolkits.axisartist The axisartist namespace provides a derived Axes implementation (mpl_toolkits.axisartist.Axes), designed to support curvilinear grids. The biggest difference is that the artists that are responsible for drawing axis lines, ticks, ticklabels, and axis labels are separated out from Matplotlib's Ax... | matplotlib.toolkits.axisartist |
mpl_toolkits.axisartist.angle_helper Classes
ExtremeFinderCycle(nx, ny[, lon_cycle, ...]) This subclass handles the case where one or both coordinates should be taken modulo 360, or be restricted to not exceed a specific range.
FormatterDMS()
FormatterHMS()
LocatorBase(nbins[, include_last])
LocatorD(nbin... | matplotlib._as_gen.mpl_toolkits.axisartist.angle_helper |
mpl_toolkits.axisartist.angle_helper.ExtremeFinderCycle classmpl_toolkits.axisartist.angle_helper.ExtremeFinderCycle(nx, ny, lon_cycle=360.0, lat_cycle=None, lon_minmax=None, lat_minmax=(- 90, 90))[source]
Bases: mpl_toolkits.axisartist.grid_finder.ExtremeFinderSimple This subclass handles the case where one or bot... | matplotlib._as_gen.mpl_toolkits.axisartist.angle_helper.extremefindercycle |
__call__(transform_xy, x1, y1, x2, y2)[source]
Compute an approximation of the bounding box obtained by applying transform_xy to the box delimited by (x1, y1, x2, y2). The intended use is to have (x1, y1, x2, y2) in axes coordinates, and have transform_xy be the transform from axes coordinates to data coordinates; th... | matplotlib._as_gen.mpl_toolkits.axisartist.angle_helper.extremefindercycle#mpl_toolkits.axisartist.angle_helper.ExtremeFinderCycle.__call__ |
mpl_toolkits.axisartist.angle_helper.FormatterDMS classmpl_toolkits.axisartist.angle_helper.FormatterDMS[source]
Bases: object __call__(direction, factor, values)[source]
Call self as a function.
deg_mark='^{\\circ}'
fmt_d='$%d^{\\circ}$'
fmt_d_m='$%s%d^{\\circ}\\,%02d^{\\prime}$'
fmt_d_m_partia... | matplotlib._as_gen.mpl_toolkits.axisartist.angle_helper.formatterdms |
__call__(direction, factor, values)[source]
Call self as a function. | matplotlib._as_gen.mpl_toolkits.axisartist.angle_helper.formatterdms#mpl_toolkits.axisartist.angle_helper.FormatterDMS.__call__ |
deg_mark='^{\\circ}' | matplotlib._as_gen.mpl_toolkits.axisartist.angle_helper.formatterdms#mpl_toolkits.axisartist.angle_helper.FormatterDMS.deg_mark |
fmt_d='$%d^{\\circ}$' | matplotlib._as_gen.mpl_toolkits.axisartist.angle_helper.formatterdms#mpl_toolkits.axisartist.angle_helper.FormatterDMS.fmt_d |
fmt_d_m='$%s%d^{\\circ}\\,%02d^{\\prime}$' | matplotlib._as_gen.mpl_toolkits.axisartist.angle_helper.formatterdms#mpl_toolkits.axisartist.angle_helper.FormatterDMS.fmt_d_m |
fmt_d_m_partial='$%s%d^{\\circ}\\,%02d^{\\prime}\\,' | matplotlib._as_gen.mpl_toolkits.axisartist.angle_helper.formatterdms#mpl_toolkits.axisartist.angle_helper.FormatterDMS.fmt_d_m_partial |
fmt_d_ms='$%s%d^{\\circ}\\,%02d.%s^{\\prime}$' | matplotlib._as_gen.mpl_toolkits.axisartist.angle_helper.formatterdms#mpl_toolkits.axisartist.angle_helper.FormatterDMS.fmt_d_ms |
fmt_ds='$%d.%s^{\\circ}$' | matplotlib._as_gen.mpl_toolkits.axisartist.angle_helper.formatterdms#mpl_toolkits.axisartist.angle_helper.FormatterDMS.fmt_ds |
fmt_s_partial='%02d^{\\prime\\prime}$' | matplotlib._as_gen.mpl_toolkits.axisartist.angle_helper.formatterdms#mpl_toolkits.axisartist.angle_helper.FormatterDMS.fmt_s_partial |
fmt_ss_partial='%02d.%s^{\\prime\\prime}$' | matplotlib._as_gen.mpl_toolkits.axisartist.angle_helper.formatterdms#mpl_toolkits.axisartist.angle_helper.FormatterDMS.fmt_ss_partial |
min_mark='^{\\prime}' | matplotlib._as_gen.mpl_toolkits.axisartist.angle_helper.formatterdms#mpl_toolkits.axisartist.angle_helper.FormatterDMS.min_mark |
sec_mark='^{\\prime\\prime}' | matplotlib._as_gen.mpl_toolkits.axisartist.angle_helper.formatterdms#mpl_toolkits.axisartist.angle_helper.FormatterDMS.sec_mark |
mpl_toolkits.axisartist.angle_helper.FormatterHMS classmpl_toolkits.axisartist.angle_helper.FormatterHMS[source]
Bases: mpl_toolkits.axisartist.angle_helper.FormatterDMS __call__(direction, factor, values)[source]
Call self as a function.
deg_mark='^\\mathrm{h}'
fmt_d='$%d^\\mathrm{h}$'
fmt_d_m='$%s... | matplotlib._as_gen.mpl_toolkits.axisartist.angle_helper.formatterhms |
__call__(direction, factor, values)[source]
Call self as a function. | matplotlib._as_gen.mpl_toolkits.axisartist.angle_helper.formatterhms#mpl_toolkits.axisartist.angle_helper.FormatterHMS.__call__ |
deg_mark='^\\mathrm{h}' | matplotlib._as_gen.mpl_toolkits.axisartist.angle_helper.formatterhms#mpl_toolkits.axisartist.angle_helper.FormatterHMS.deg_mark |
fmt_d='$%d^\\mathrm{h}$' | matplotlib._as_gen.mpl_toolkits.axisartist.angle_helper.formatterhms#mpl_toolkits.axisartist.angle_helper.FormatterHMS.fmt_d |
fmt_d_m='$%s%d^\\mathrm{h}\\,%02d^\\mathrm{m}$' | matplotlib._as_gen.mpl_toolkits.axisartist.angle_helper.formatterhms#mpl_toolkits.axisartist.angle_helper.FormatterHMS.fmt_d_m |
fmt_d_m_partial='$%s%d^\\mathrm{h}\\,%02d^\\mathrm{m}\\,' | matplotlib._as_gen.mpl_toolkits.axisartist.angle_helper.formatterhms#mpl_toolkits.axisartist.angle_helper.FormatterHMS.fmt_d_m_partial |
fmt_d_ms='$%s%d^\\mathrm{h}\\,%02d.%s^\\mathrm{m}$' | matplotlib._as_gen.mpl_toolkits.axisartist.angle_helper.formatterhms#mpl_toolkits.axisartist.angle_helper.FormatterHMS.fmt_d_ms |
fmt_ds='$%d.%s^\\mathrm{h}$' | matplotlib._as_gen.mpl_toolkits.axisartist.angle_helper.formatterhms#mpl_toolkits.axisartist.angle_helper.FormatterHMS.fmt_ds |
fmt_s_partial='%02d^\\mathrm{s}$' | matplotlib._as_gen.mpl_toolkits.axisartist.angle_helper.formatterhms#mpl_toolkits.axisartist.angle_helper.FormatterHMS.fmt_s_partial |
fmt_ss_partial='%02d.%s^\\mathrm{s}$' | matplotlib._as_gen.mpl_toolkits.axisartist.angle_helper.formatterhms#mpl_toolkits.axisartist.angle_helper.FormatterHMS.fmt_ss_partial |
min_mark='^\\mathrm{m}' | matplotlib._as_gen.mpl_toolkits.axisartist.angle_helper.formatterhms#mpl_toolkits.axisartist.angle_helper.FormatterHMS.min_mark |
sec_mark='^\\mathrm{s}' | matplotlib._as_gen.mpl_toolkits.axisartist.angle_helper.formatterhms#mpl_toolkits.axisartist.angle_helper.FormatterHMS.sec_mark |
mpl_toolkits.axisartist.angle_helper.LocatorBase classmpl_toolkits.axisartist.angle_helper.LocatorBase(nbins, include_last=True)[source]
Bases: object set_params(nbins=None)[source]
Examples using mpl_toolkits.axisartist.angle_helper.LocatorBase
axis_direction demo
Curvilinear grid demo
mp... | matplotlib._as_gen.mpl_toolkits.axisartist.angle_helper.locatorbase |
set_params(nbins=None)[source] | matplotlib._as_gen.mpl_toolkits.axisartist.angle_helper.locatorbase#mpl_toolkits.axisartist.angle_helper.LocatorBase.set_params |
mpl_toolkits.axisartist.angle_helper.LocatorD classmpl_toolkits.axisartist.angle_helper.LocatorD(nbins, include_last=True)[source]
Bases: mpl_toolkits.axisartist.angle_helper.LocatorBase __call__(v1, v2)[source]
Call self as a function. | matplotlib._as_gen.mpl_toolkits.axisartist.angle_helper.locatord |
__call__(v1, v2)[source]
Call self as a function. | matplotlib._as_gen.mpl_toolkits.axisartist.angle_helper.locatord#mpl_toolkits.axisartist.angle_helper.LocatorD.__call__ |
mpl_toolkits.axisartist.angle_helper.LocatorDM classmpl_toolkits.axisartist.angle_helper.LocatorDM(nbins, include_last=True)[source]
Bases: mpl_toolkits.axisartist.angle_helper.LocatorBase __call__(v1, v2)[source]
Call self as a function. | matplotlib._as_gen.mpl_toolkits.axisartist.angle_helper.locatordm |
__call__(v1, v2)[source]
Call self as a function. | matplotlib._as_gen.mpl_toolkits.axisartist.angle_helper.locatordm#mpl_toolkits.axisartist.angle_helper.LocatorDM.__call__ |
mpl_toolkits.axisartist.angle_helper.LocatorDMS classmpl_toolkits.axisartist.angle_helper.LocatorDMS(nbins, include_last=True)[source]
Bases: mpl_toolkits.axisartist.angle_helper.LocatorBase __call__(v1, v2)[source]
Call self as a function.
Examples using mpl_toolkits.axisartist.angle_helper.LocatorDMS
... | matplotlib._as_gen.mpl_toolkits.axisartist.angle_helper.locatordms |
__call__(v1, v2)[source]
Call self as a function. | matplotlib._as_gen.mpl_toolkits.axisartist.angle_helper.locatordms#mpl_toolkits.axisartist.angle_helper.LocatorDMS.__call__ |
mpl_toolkits.axisartist.angle_helper.LocatorH classmpl_toolkits.axisartist.angle_helper.LocatorH(nbins, include_last=True)[source]
Bases: mpl_toolkits.axisartist.angle_helper.LocatorBase __call__(v1, v2)[source]
Call self as a function. | matplotlib._as_gen.mpl_toolkits.axisartist.angle_helper.locatorh |
__call__(v1, v2)[source]
Call self as a function. | matplotlib._as_gen.mpl_toolkits.axisartist.angle_helper.locatorh#mpl_toolkits.axisartist.angle_helper.LocatorH.__call__ |
mpl_toolkits.axisartist.angle_helper.LocatorHM classmpl_toolkits.axisartist.angle_helper.LocatorHM(nbins, include_last=True)[source]
Bases: mpl_toolkits.axisartist.angle_helper.LocatorBase __call__(v1, v2)[source]
Call self as a function. | matplotlib._as_gen.mpl_toolkits.axisartist.angle_helper.locatorhm |
__call__(v1, v2)[source]
Call self as a function. | matplotlib._as_gen.mpl_toolkits.axisartist.angle_helper.locatorhm#mpl_toolkits.axisartist.angle_helper.LocatorHM.__call__ |
mpl_toolkits.axisartist.angle_helper.LocatorHMS classmpl_toolkits.axisartist.angle_helper.LocatorHMS(nbins, include_last=True)[source]
Bases: mpl_toolkits.axisartist.angle_helper.LocatorBase __call__(v1, v2)[source]
Call self as a function.
Examples using mpl_toolkits.axisartist.angle_helper.LocatorHMS
... | matplotlib._as_gen.mpl_toolkits.axisartist.angle_helper.locatorhms |
__call__(v1, v2)[source]
Call self as a function. | matplotlib._as_gen.mpl_toolkits.axisartist.angle_helper.locatorhms#mpl_toolkits.axisartist.angle_helper.LocatorHMS.__call__ |
mpl_toolkits.axisartist.angle_helper.select_step mpl_toolkits.axisartist.angle_helper.select_step(v1, v2, nv, hour=False, include_last=True, threshold_factor=3600.0)[source] | matplotlib._as_gen.mpl_toolkits.axisartist.angle_helper.select_step |
mpl_toolkits.axisartist.angle_helper.select_step24 mpl_toolkits.axisartist.angle_helper.select_step24(v1, v2, nv, include_last=True, threshold_factor=3600)[source] | matplotlib._as_gen.mpl_toolkits.axisartist.angle_helper.select_step24 |
mpl_toolkits.axisartist.angle_helper.select_step360 mpl_toolkits.axisartist.angle_helper.select_step360(v1, v2, nv, include_last=True, threshold_factor=3600)[source] | matplotlib._as_gen.mpl_toolkits.axisartist.angle_helper.select_step360 |
mpl_toolkits.axisartist.angle_helper.select_step_degree mpl_toolkits.axisartist.angle_helper.select_step_degree(dv)[source] | matplotlib._as_gen.mpl_toolkits.axisartist.angle_helper.select_step_degree |
mpl_toolkits.axisartist.angle_helper.select_step_hour mpl_toolkits.axisartist.angle_helper.select_step_hour(dv)[source] | matplotlib._as_gen.mpl_toolkits.axisartist.angle_helper.select_step_hour |
mpl_toolkits.axisartist.angle_helper.select_step_sub mpl_toolkits.axisartist.angle_helper.select_step_sub(dv)[source] | matplotlib._as_gen.mpl_toolkits.axisartist.angle_helper.select_step_sub |
mpl_toolkits.axisartist.axes_divider | matplotlib._as_gen.mpl_toolkits.axisartist.axes_divider |
mpl_toolkits.axisartist.axes_grid Classes
AxesGrid alias of mpl_toolkits.axisartist.axes_grid.ImageGrid
CbarAxes(*args, orientation, **kwargs) [Deprecated]
Grid(fig, rect, nrows_ncols[, ngrids, ...])
Parameters
ImageGrid(fig, rect, nrows_ncols[, ngrids, ...])
Parameters | matplotlib._as_gen.mpl_toolkits.axisartist.axes_grid |
mpl_toolkits.axisartist.axes_grid.AxesGrid mpl_toolkits.axisartist.axes_grid.AxesGrid[source]
alias of mpl_toolkits.axisartist.axes_grid.ImageGrid | matplotlib._as_gen.mpl_toolkits.axisartist.axes_grid.axesgrid |
mpl_toolkits.axisartist.axes_grid.CbarAxes classmpl_toolkits.axisartist.axes_grid.CbarAxes(*args, orientation, **kwargs)[source]
Bases: mpl_toolkits.axes_grid1.axes_grid.CbarAxesBase, mpl_toolkits.axisartist.axislines.Axes [Deprecated] Notes Deprecated since version 3.5: Build an Axes in a figure. Parameters
... | matplotlib._as_gen.mpl_toolkits.axisartist.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.axisartist.axes_grid.cbaraxes#mpl_toolkits.axisartist.axes_grid.CbarAxes.set |
mpl_toolkits.axisartist.axes_grid.Grid classmpl_toolkits.axisartist.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: mpl_toolkits.axes_grid1.axes_grid.Grid Parameters
... | matplotlib._as_gen.mpl_toolkits.axisartist.axes_grid.grid |
mpl_toolkits.axisartist.axes_grid.ImageGrid classmpl_toolkits.axisartist.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)[s... | matplotlib._as_gen.mpl_toolkits.axisartist.axes_grid.imagegrid |
mpl_toolkits.axisartist.axes_rgb Classes
RGBAxes(*args[, pad])
Parameters | matplotlib._as_gen.mpl_toolkits.axisartist.axes_rgb |
mpl_toolkits.axisartist.axes_rgb.RGBAxes classmpl_toolkits.axisartist.axes_rgb.RGBAxes(*args, pad=0, **kwargs)[source]
Bases: mpl_toolkits.axes_grid1.axes_rgb.RGBAxes Parameters
padfloat, default: 0
fraction of the axes height to put as padding.
axes_classmatplotlib.axes.Axes
*args
Unpacked into axes_clas... | matplotlib._as_gen.mpl_toolkits.axisartist.axes_rgb.rgbaxes |
mpl_toolkits.axisartist.axis_artist The axis_artist module implements custom artists to draw axis elements (axis lines and labels, tick lines and labels, grid lines). Axis lines and labels and tick lines and labels are managed by the AxisArtist class; grid lines are managed by the GridlinesCollection class. There is on... | matplotlib._as_gen.mpl_toolkits.axisartist.axis_artist |
mpl_toolkits.axisartist.axis_artist.AttributeCopier classmpl_toolkits.axisartist.axis_artist.AttributeCopier[source]
Bases: object get_attribute_from_ref_artist(attr_name)[source]
get_ref_artist()[source]
Return the underlying artist that actually defines some properties (e.g., color) of this artist. | matplotlib._as_gen.mpl_toolkits.axisartist.axis_artist.attributecopier |
get_attribute_from_ref_artist(attr_name)[source] | matplotlib._as_gen.mpl_toolkits.axisartist.axis_artist.attributecopier#mpl_toolkits.axisartist.axis_artist.AttributeCopier.get_attribute_from_ref_artist |
get_ref_artist()[source]
Return the underlying artist that actually defines some properties (e.g., color) of this artist. | matplotlib._as_gen.mpl_toolkits.axisartist.axis_artist.attributecopier#mpl_toolkits.axisartist.axis_artist.AttributeCopier.get_ref_artist |
mpl_toolkits.axisartist.axis_artist.AxisArtist classmpl_toolkits.axisartist.axis_artist.AxisArtist(axes, helper, offset=None, axis_direction='bottom', **kwargs)[source]
Bases: matplotlib.artist.Artist An artist which draws axis (a line along which the n-th axes coord is constant) line, ticks, ticklabels, and axis l... | matplotlib._as_gen.mpl_toolkits.axisartist.axis_artist.axisartist |
draw(renderer)[source]
Draw the Artist (and its children) using the given renderer. This has no effect if the artist is not visible (Artist.get_visible returns False). Parameters
rendererRendererBase subclass.
Notes This method is overridden in the Artist subclasses. | matplotlib._as_gen.mpl_toolkits.axisartist.axis_artist.axisartist#mpl_toolkits.axisartist.axis_artist.AxisArtist.draw |
get_axisline_style()[source]
Return the current axisline style. | matplotlib._as_gen.mpl_toolkits.axisartist.axis_artist.axisartist#mpl_toolkits.axisartist.axis_artist.AxisArtist.get_axisline_style |
get_helper()[source]
Return axis artist helper instance. | matplotlib._as_gen.mpl_toolkits.axisartist.axis_artist.axisartist#mpl_toolkits.axisartist.axis_artist.AxisArtist.get_helper |
get_tightbbox(renderer)[source]
Like Artist.get_window_extent, but includes any clipping. Parameters
rendererRendererBase subclass
renderer that will be used to draw the figures (i.e. fig.canvas.get_renderer()) Returns
Bbox
The enclosing bounding box (in figure pixel coordinates). | matplotlib._as_gen.mpl_toolkits.axisartist.axis_artist.axisartist#mpl_toolkits.axisartist.axis_artist.AxisArtist.get_tightbbox |
get_transform()[source]
Return the Transform instance used by this artist. | matplotlib._as_gen.mpl_toolkits.axisartist.axis_artist.axisartist#mpl_toolkits.axisartist.axis_artist.AxisArtist.get_transform |
invert_ticklabel_direction()[source] | matplotlib._as_gen.mpl_toolkits.axisartist.axis_artist.axisartist#mpl_toolkits.axisartist.axis_artist.AxisArtist.invert_ticklabel_direction |
set(*, agg_filter=<UNSET>, alpha=<UNSET>, animated=<UNSET>, axis_direction=<UNSET>, axislabel_direction=<UNSET>, axisline_style=<UNSET>, clip_box=<UNSET>, clip_on=<UNSET>, clip_path=<UNSET>, gid=<UNSET>, in_layout=<UNSET>, label=<UNSET>, path_effects=<UNSET>, picker=<UNSET>, rasterized=<UNSET>, sketch_params=<UNSET>, s... | matplotlib._as_gen.mpl_toolkits.axisartist.axis_artist.axisartist#mpl_toolkits.axisartist.axis_artist.AxisArtist.set |
set_axis_direction(axis_direction)[source]
Adjust the direction, text angle, text alignment of ticklabels, labels following the matplotlib convention for the rectangle axes. The axis_direction must be one of [left, right, bottom, top].
property left bottom right top
ticklabels location "-" "+" "+" "-"
axislab... | matplotlib._as_gen.mpl_toolkits.axisartist.axis_artist.axisartist#mpl_toolkits.axisartist.axis_artist.AxisArtist.set_axis_direction |
set_axislabel_direction(label_direction)[source]
Adjust the direction of the axislabel. Note that the label_directions '+' and '-' are relative to the direction of the increasing coordinate. Parameters
label_direction{"+", "-"} | matplotlib._as_gen.mpl_toolkits.axisartist.axis_artist.axisartist#mpl_toolkits.axisartist.axis_artist.AxisArtist.set_axislabel_direction |
set_axisline_style(axisline_style=None, **kwargs)[source]
Set the axisline style. The new style is completely defined by the passed attributes. Existing style attributes are forgotten. Parameters
axisline_stylestr or None
The line style, e.g. '->', optionally followed by a comma-separated list of attributes. Al... | matplotlib._as_gen.mpl_toolkits.axisartist.axis_artist.axisartist#mpl_toolkits.axisartist.axis_artist.AxisArtist.set_axisline_style |
set_label(s)[source]
Set a label that will be displayed in the legend. Parameters
sobject
s will be converted to a string by calling str. | matplotlib._as_gen.mpl_toolkits.axisartist.axis_artist.axisartist#mpl_toolkits.axisartist.axis_artist.AxisArtist.set_label |
set_ticklabel_direction(tick_direction)[source]
Adjust the direction of the ticklabel. Note that the label_directions '+' and '-' are relative to the direction of the increasing coordinate. Parameters
tick_direction{"+", "-"} | matplotlib._as_gen.mpl_toolkits.axisartist.axis_artist.axisartist#mpl_toolkits.axisartist.axis_artist.AxisArtist.set_ticklabel_direction |
toggle(all=None, ticks=None, ticklabels=None, label=None)[source]
Toggle visibility of ticks, ticklabels, and (axis) label. To turn all off, axis.toggle(all=False)
To turn all off but ticks on axis.toggle(all=False, ticks=True)
To turn all on but (axis) label off axis.toggle(all=True, label=False)) | matplotlib._as_gen.mpl_toolkits.axisartist.axis_artist.axisartist#mpl_toolkits.axisartist.axis_artist.AxisArtist.toggle |
ZORDER=2.5 | matplotlib._as_gen.mpl_toolkits.axisartist.axis_artist.axisartist#mpl_toolkits.axisartist.axis_artist.AxisArtist.ZORDER |
zorder=2.5 | matplotlib._as_gen.mpl_toolkits.axisartist.axis_artist.axisartist#mpl_toolkits.axisartist.axis_artist.AxisArtist.zorder |
mpl_toolkits.axisartist.axis_artist.AxisLabel classmpl_toolkits.axisartist.axis_artist.AxisLabel(*args, axis_direction='bottom', axis=None, **kwargs)[source]
Bases: mpl_toolkits.axisartist.axis_artist.AttributeCopier, mpl_toolkits.axisartist.axis_artist.LabelBase Axis Label. Derived from Text. The position of the t... | matplotlib._as_gen.mpl_toolkits.axisartist.axis_artist.axislabel |
draw(renderer)[source]
Draw the Artist (and its children) using the given renderer. This has no effect if the artist is not visible (Artist.get_visible returns False). Parameters
rendererRendererBase subclass.
Notes This method is overridden in the Artist subclasses. | matplotlib._as_gen.mpl_toolkits.axisartist.axis_artist.axislabel#mpl_toolkits.axisartist.axis_artist.AxisLabel.draw |
get_color()[source]
Return the color of the text. | matplotlib._as_gen.mpl_toolkits.axisartist.axis_artist.axislabel#mpl_toolkits.axisartist.axis_artist.AxisLabel.get_color |
get_pad()[source]
Return the internal pad in points. See set_pad for more details. | matplotlib._as_gen.mpl_toolkits.axisartist.axis_artist.axislabel#mpl_toolkits.axisartist.axis_artist.AxisLabel.get_pad |
get_ref_artist()[source]
Return the underlying artist that actually defines some properties (e.g., color) of this artist. | matplotlib._as_gen.mpl_toolkits.axisartist.axis_artist.axislabel#mpl_toolkits.axisartist.axis_artist.AxisLabel.get_ref_artist |
get_text()[source]
Return the text string. | matplotlib._as_gen.mpl_toolkits.axisartist.axis_artist.axislabel#mpl_toolkits.axisartist.axis_artist.AxisLabel.get_text |
get_window_extent(renderer)[source]
Return the Bbox bounding the text, in display units. In addition to being used internally, this is useful for specifying clickable regions in a png file on a web page. Parameters
rendererRenderer, optional
A renderer is needed to compute the bounding box. If the artist has al... | matplotlib._as_gen.mpl_toolkits.axisartist.axis_artist.axislabel#mpl_toolkits.axisartist.axis_artist.AxisLabel.get_window_extent |
set(*, agg_filter=<UNSET>, alpha=<UNSET>, animated=<UNSET>, axis_direction=<UNSET>, backgroundcolor=<UNSET>, bbox=<UNSET>, clip_box=<UNSET>, clip_on=<UNSET>, clip_path=<UNSET>, color=<UNSET>, default_alignment=<UNSET>, default_angle=<UNSET>, fontfamily=<UNSET>, fontproperties=<UNSET>, fontsize=<UNSET>, fontstretch=<UNS... | matplotlib._as_gen.mpl_toolkits.axisartist.axis_artist.axislabel#mpl_toolkits.axisartist.axis_artist.AxisLabel.set |
set_axis_direction(d)[source]
Adjust the text angle and text alignment of axis label according to the matplotlib convention.
property left bottom right top
axislabel angle 180 0 0 180
axislabel va center top center bottom
axislabel ha right center right center Note that the text angles are actually relati... | matplotlib._as_gen.mpl_toolkits.axisartist.axis_artist.axislabel#mpl_toolkits.axisartist.axis_artist.AxisLabel.set_axis_direction |
set_default_alignment(d)[source] | matplotlib._as_gen.mpl_toolkits.axisartist.axis_artist.axislabel#mpl_toolkits.axisartist.axis_artist.AxisLabel.set_default_alignment |
set_default_angle(d)[source] | matplotlib._as_gen.mpl_toolkits.axisartist.axis_artist.axislabel#mpl_toolkits.axisartist.axis_artist.AxisLabel.set_default_angle |
set_pad(pad)[source]
Set the internal pad in points. The actual pad will be the sum of the internal pad and the external pad (the latter is set automatically by the AxisArtist). | matplotlib._as_gen.mpl_toolkits.axisartist.axis_artist.axislabel#mpl_toolkits.axisartist.axis_artist.AxisLabel.set_pad |
mpl_toolkits.axisartist.axis_artist.GridlinesCollection classmpl_toolkits.axisartist.axis_artist.GridlinesCollection(*args, which='major', axis='both', **kwargs)[source]
Bases: matplotlib.collections.LineCollection Parameters
which{"major", "minor"}
axis{"both", "x", "y"}
draw(renderer)[source]
Draw t... | matplotlib._as_gen.mpl_toolkits.axisartist.axis_artist.gridlinescollection |
draw(renderer)[source]
Draw the Artist (and its children) using the given renderer. This has no effect if the artist is not visible (Artist.get_visible returns False). Parameters
rendererRendererBase subclass.
Notes This method is overridden in the Artist subclasses. | matplotlib._as_gen.mpl_toolkits.axisartist.axis_artist.gridlinescollection#mpl_toolkits.axisartist.axis_artist.GridlinesCollection.draw |
set(*, agg_filter=<UNSET>, alpha=<UNSET>, animated=<UNSET>, antialiased=<UNSET>, array=<UNSET>, axis=<UNSET>, capstyle=<UNSET>, clim=<UNSET>, clip_box=<UNSET>, clip_on=<UNSET>, clip_path=<UNSET>, cmap=<UNSET>, color=<UNSET>, colors=<UNSET>, edgecolor=<UNSET>, facecolor=<UNSET>, gid=<UNSET>, grid_helper=<UNSET>, hatch=<... | matplotlib._as_gen.mpl_toolkits.axisartist.axis_artist.gridlinescollection#mpl_toolkits.axisartist.axis_artist.GridlinesCollection.set |
set_axis(axis)[source] | matplotlib._as_gen.mpl_toolkits.axisartist.axis_artist.gridlinescollection#mpl_toolkits.axisartist.axis_artist.GridlinesCollection.set_axis |
set_grid_helper(grid_helper)[source] | matplotlib._as_gen.mpl_toolkits.axisartist.axis_artist.gridlinescollection#mpl_toolkits.axisartist.axis_artist.GridlinesCollection.set_grid_helper |
set_which(which)[source] | matplotlib._as_gen.mpl_toolkits.axisartist.axis_artist.gridlinescollection#mpl_toolkits.axisartist.axis_artist.GridlinesCollection.set_which |
mpl_toolkits.axisartist.axis_artist.LabelBase classmpl_toolkits.axisartist.axis_artist.LabelBase(*args, **kwargs)[source]
Bases: matplotlib.text.Text A base class for AxisLabel and TickLabels. The position and angle of the text are calculated by to offset_ref_angle, text_ref_angle, and offset_radius attributes. Cre... | matplotlib._as_gen.mpl_toolkits.axisartist.axis_artist.labelbase |
draw(renderer)[source]
Draw the Artist (and its children) using the given renderer. This has no effect if the artist is not visible (Artist.get_visible returns False). Parameters
rendererRendererBase subclass.
Notes This method is overridden in the Artist subclasses. | matplotlib._as_gen.mpl_toolkits.axisartist.axis_artist.labelbase#mpl_toolkits.axisartist.axis_artist.LabelBase.draw |
get_window_extent(renderer)[source]
Return the Bbox bounding the text, in display units. In addition to being used internally, this is useful for specifying clickable regions in a png file on a web page. Parameters
rendererRenderer, optional
A renderer is needed to compute the bounding box. If the artist has al... | matplotlib._as_gen.mpl_toolkits.axisartist.axis_artist.labelbase#mpl_toolkits.axisartist.axis_artist.LabelBase.get_window_extent |
set(*, agg_filter=<UNSET>, alpha=<UNSET>, animated=<UNSET>, backgroundcolor=<UNSET>, bbox=<UNSET>, clip_box=<UNSET>, clip_on=<UNSET>, clip_path=<UNSET>, color=<UNSET>, fontfamily=<UNSET>, fontproperties=<UNSET>, fontsize=<UNSET>, fontstretch=<UNSET>, fontstyle=<UNSET>, fontvariant=<UNSET>, fontweight=<UNSET>, gid=<UNSE... | matplotlib._as_gen.mpl_toolkits.axisartist.axis_artist.labelbase#mpl_toolkits.axisartist.axis_artist.LabelBase.set |
mpl_toolkits.axisartist.axis_artist.TickLabels classmpl_toolkits.axisartist.axis_artist.TickLabels(*, axis_direction='bottom', **kwargs)[source]
Bases: mpl_toolkits.axisartist.axis_artist.AxisLabel Tick Labels. While derived from Text, this single artist draws all ticklabels. As in AxisLabel, the position of the te... | matplotlib._as_gen.mpl_toolkits.axisartist.axis_artist.ticklabels |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.