plotnine.geoms.annotation_logticks

class plotnine.geoms.annotation_logticks(sides='bl', alpha=1, color='black', size=0.5, linetype='solid', lengths=0.036, 0.0225, 0.012, base=None)[source]

Marginal log ticks.

If added to a plot that does not have a log10 axis on the respective side, a warning will be issued.

Parameters
sidesstr (default: bl)

Sides onto which to draw the marks. Any combination chosen from the characters btlr, for bottom, top, left or right side marks. If coord_flip() is used, these are the sides after the flip.

alphafloat (default: 1)

Transparency of the ticks

colorstr | tuple (default: 'black')

Colour of the ticks

sizefloat

Thickness of the ticks

linetype'solid' | 'dashed' | 'dashdot' | 'dotted' | tuple

Type of line. Default is solid.

lengths: tuple (default (0.036, 0.0225, 0.012))

length of the ticks drawn for full / half / tenth ticks relative to panel size

basefloat (default: None)

Base of the logarithm in which the ticks will be calculated. If None, the base used to log transform the scale will be used.