matplotlib / 3.4.3 / _as_gen / mpl_toolkits.axes_grid1.mpl_axes.simpleaxisartist.html /

mpl_toolkits.axes_grid1.mpl_axes.SimpleAxisArtist

class mpl_toolkits.axes_grid1.mpl_axes. SimpleAxisArtist ( axis, axisnum, spine ) [source]

Bases: matplotlib.artist.Artist

__init__ ( axis, axisnum, spine ) [source]

Initialize self. See help(type(self)) for accurate signature.

__module__ = 'mpl_toolkits.axes_grid1.mpl_axes'
property label
property major_ticklabels
property major_ticks
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]

Examples using mpl_toolkits.axes_grid1.mpl_axes.SimpleAxisArtist

© 2012–2021 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/3.4.3/api/_as_gen/mpl_toolkits.axes_grid1.mpl_axes.SimpleAxisArtist.html