mpl_toolkits.axes_grid1.mpl_axes.SimpleAxisArtist

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

Bases: matplotlib.artist.Artist

__init__(self, 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(self, 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(self, b) [source]

Set the artist's visibility.

Parameters:
bbool
toggle(self, 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.1/api/_as_gen/mpl_toolkits.axes_grid1.mpl_axes.SimpleAxisArtist.html