On this page
mpl_toolkits.axisartist.axisline_style.AxislineStyle
- class
mpl_toolkits.axisartist.axisline_style.
AxislineStyle
(stylename, **kw)[source] -
Bases:
matplotlib.patches._Style
A container class which defines style classes for AxisArtists.
An instance of any axisline style class is an callable object, whose call signature is
__call__(self, axis_artist, path, transform)
When called, this should return an
Artist
with the following methods:def set_path(self, path): # set the path for axisline. def set_line_mutation_scale(self, scale): # set the scale def draw(self, renderer): # draw
Return the instance of the subclass with the given style name.
- class
FilledArrow
(size=1)[source] -
Bases:
mpl_toolkits.axisartist.axisline_style.AxislineStyle.SimpleArrow
Parameters: - sizefloat
-
Size of the arrow as a fraction of the ticklabel size.
ArrowAxisClass
-
alias of
mpl_toolkits.axisartist.axisline_style._FancyAxislineStyle.FilledArrow
__module__
= 'mpl_toolkits.axisartist.axisline_style'
- class
SimpleArrow
(size=1)[source] -
Bases:
mpl_toolkits.axisartist.axisline_style.AxislineStyle._Base
A simple arrow.
Parameters: - sizefloat
-
Size of the arrow as a fraction of the ticklabel size.
ArrowAxisClass
-
alias of
mpl_toolkits.axisartist.axisline_style._FancyAxislineStyle.SimpleArrow
__init__
(size=1)[source]-
Parameters: - sizefloat
-
Size of the arrow as a fraction of the ticklabel size.
__module__
= 'mpl_toolkits.axisartist.axisline_style'
new_line
(axis_artist, transform)[source]
__module__
= 'mpl_toolkits.axisartist.axisline_style'
- class
Examples using mpl_toolkits.axisartist.axisline_style.AxislineStyle
© 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.axisartist.axisline_style.AxislineStyle.html