mpl_toolkits.axisartist.axisline_style.AxislineStyle#
- class mpl_toolkits.axisartist.axisline_style.AxislineStyle(stylename, **kwargs)[source]#
Bases:
_Style
A container class which defines style classes for AxisArtists.
An instance of any axisline style class is a 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, facecolor=None)[source]#
Bases:
SimpleArrow
An arrow with a filled head.
- Parameters:
- sizefloat
Size of the arrow as a fraction of the ticklabel size.
- facecolorcolor, default:
rcParams["axes.edgecolor"]
(default:'black'
) Fill color.
New in version 3.7.