mpl_toolkits.axisartist.axislines.AxisArtistHelperRectlinear

class mpl_toolkits.axisartist.axislines.AxisArtistHelperRectlinear[source]

Bases: object

class Fixed(axes, loc, nth_coord=None)[source]

Bases: mpl_toolkits.axisartist.axislines.AxisArtistHelper.Fixed

nth_coord = along which coordinate value varies in 2d, nth_coord = 0 -> x axis, nth_coord = 1 -> y axis

__init__(axes, loc, nth_coord=None)[source]

nth_coord = along which coordinate value varies in 2d, nth_coord = 0 -> x axis, nth_coord = 1 -> y axis

__module__ = 'mpl_toolkits.axisartist.axislines'
get_tick_iterators(axes)[source]

tick_loc, tick_angle, tick_label

class Floating(axes, nth_coord, passingthrough_point, axis_direction='bottom')[source]

Bases: mpl_toolkits.axisartist.axislines.AxisArtistHelper.Floating

__init__(axes, nth_coord, passingthrough_point, axis_direction='bottom')[source]

Initialize self. See help(type(self)) for accurate signature.

__module__ = 'mpl_toolkits.axisartist.axislines'
get_axislabel_pos_angle(axes)[source]

Return the label reference position in transAxes.

get_label_transform() returns a transform of (transAxes+offset)

get_axislabel_transform(axes)[source]
get_line(axes)[source]
get_line_transform(axes)[source]
get_tick_iterators(axes)[source]

tick_loc, tick_angle, tick_label

get_tick_transform(axes)[source]
__dict__ = mappingproxy({'__module__': 'mpl_toolkits.axisartist.axislines', 'Fixed': <class 'mpl_toolkits.axisartist.axislines.AxisArtistHelperRectlinear.Fixed'>, 'Floating': <class 'mpl_toolkits.axisartist.axislines.AxisArtistHelperRectlinear.Floating'>, '__dict__': <attribute '__dict__' of 'AxisArtistHelperRectlinear' objects>, '__weakref__': <attribute '__weakref__' of 'AxisArtistHelperRectlinear' objects>, '__doc__': None, '__annotations__': {}})
__module__ = 'mpl_toolkits.axisartist.axislines'
__weakref__

list of weak references to the object (if defined)

Examples using mpl_toolkits.axisartist.axislines.AxisArtistHelperRectlinear