You are reading an old version of the documentation (v3.1.0). For the latest version see https://matplotlib.org/stable/api/_as_gen/mpl_toolkits.axes_grid1.mpl_axes.SimpleAxisArtist.html
Version 3.1.0
matplotlib
Fork me on GitHub

mpl_toolkits.axes_grid1.mpl_axes.SimpleAxisArtist

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

Bases: matplotlib.artist.Artist

label
major_ticklabels
major_ticks
set_label(self, 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(self, b)[source]

Set the artist's visibility.

Parameters:
b : bool
toggle(self, all=None, ticks=None, ticklabels=None, label=None)[source]