Version 3.0.3
matplotlib
Fork me on GitHub

mpl_toolkits.axisartist.axis_artist.Ticks

class mpl_toolkits.axisartist.axis_artist.Ticks(ticksize, tick_out=False, *, axis=None, **kwargs)[source]

Bases: matplotlib.lines.Line2D, mpl_toolkits.axisartist.axis_artist.AttributeCopier

Ticks are derived from Line2D, and note that ticks themselves are markers. Thus, you should use set_mec, set_mew, etc.

To change the tick size (length), you need to use set_ticksize. To change the direction of the ticks (ticks are in opposite direction of ticklabels by default), use set_tick_out(False).

draw(renderer)[source]

draw the Line with renderer unless visibility is False

get_color()[source]
get_markeredgecolor()[source]
get_markeredgewidth()[source]
get_ref_artist()[source]
get_tick_out()[source]

Return True if the tick will be rotated by 180 degree.

get_ticksize()[source]

Return length of the ticks in points.

set_locs_angles(locs_angles)[source]
set_tick_out(b)[source]

set True if tick need to be rotated by 180 degree.

set_ticksize(ticksize)[source]

set length of the ticks in points.