mpl_toolkits.axisartist.axisline_style.AxislineStyle

class mpl_toolkits.axisartist.axisline_style.AxislineStyle [source]

AxislineStyle is 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 a mpl artist with following methods implemented.

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]
size
size of the arrow as a fraction of the ticklabel size.
ArrowAxisClass

alias of _FancyAxislineStyle.FilledArrow

class SimpleArrow(size=1) [source]

A simple arrow.

size
size of the arrow as a fraction of the ticklabel size.
ArrowAxisClass

alias of _FancyAxislineStyle.SimpleArrow

new_line(axis_artist, transform) [source]

© 2012–2018 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/2.2.3/api/_as_gen/mpl_toolkits.axisartist.axisline_style.AxislineStyle.html