On this page
mpl_toolkits.axes_grid1.mpl_axes.SimpleAxisArtist
- classmpl_toolkits.axes_grid1.mpl_axes.SimpleAxisArtist(axis, axisnum, spine)[source]
-
Bases:
Artist
- propertylabel
- propertymajor_ticklabels
- propertymajor_ticks
- set(*, agg_filter=<UNSET>, alpha=<UNSET>, animated=<UNSET>, clip_box=<UNSET>, clip_on=<UNSET>, clip_path=<UNSET>, gid=<UNSET>, in_layout=<UNSET>, label=<UNSET>, mouseover=<UNSET>, path_effects=<UNSET>, picker=<UNSET>, rasterized=<UNSET>, sketch_params=<UNSET>, snap=<UNSET>, transform=<UNSET>, url=<UNSET>, visible=<UNSET>, zorder=<UNSET>)[source]
-
Set multiple properties at once.
Supported properties are
Property
Description
a filter function, which takes a (m, n, 3) float array and a dpi value, and returns a (m, n, 3) array and two offsets from the bottom left corner of the image
scalar or None
bool
bool
Patch or (Path, Transform) or None
str
bool
unknown
bool
None or bool or float or callable
bool
(scale: float, length: float, randomness: float)
bool or None
str
unknown
float
- set_label(txt)[source]
-
Set a label that will be displayed in the legend.
- Parameters:
-
- sobject
-
s will be converted to a string by calling
str
.
- set_visible(b)[source]
-
Set the artist's visibility.
- Parameters:
-
- bbool
- toggle(all=None, ticks=None, ticklabels=None, label=None)[source]
© 2012–2023 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/3.6.0/api/_as_gen/mpl_toolkits.axes_grid1.mpl_axes.SimpleAxisArtist.html