mpl_toolkits.axes_grid1.mpl_axes.SimpleAxisArtist
- class mpl_toolkits.axes_grid1.mpl_axes. SimpleAxisArtist ( axis, axisnum, spine ) [source]
-
Bases:
matplotlib.artist.Artist
- property label
- property major_ticklabels
- property major_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>, 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
scalar or None
bool
bool
Patch or (Path, Transform) or None
str
bool
unknown
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
-
- s object
-
s will be converted to a string by calling
str
.
- set_visible ( b ) [source]
-
Set the artist's visibility.
- Parameters
-
- b bool
- toggle ( all=None, ticks=None, ticklabels=None, label=None ) [source]
© 2012–2021 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/3.5.1/api/_as_gen/mpl_toolkits.axes_grid1.mpl_axes.SimpleAxisArtist.html