plotnine.annotation_logticks
annotation_logticks(="bl",
sides=1,
alpha="black",
color=0.5,
size="solid",
linetype=(0.036, 0.0225, 0.012),
lengths=None
base )
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
sides : str = "bl"
-
Sides onto which to draw the marks. Any combination chosen from the characters
btlr
, for bottom, top, left or right side marks. Ifcoord_flip()
is used, these are the sides after the flip. alpha : float = 1
-
Transparency of the ticks
color : str | tuple[float, float, float] | tuple[float, float, float, float] = "black"
-
Colour of the ticks
size : float = 0.5
-
Thickness of the ticks
linetype : Literal["solid", "dashed", "dashdot", "dotted"] | Sequence[float] = "solid"
-
Type of line
lengths : tuple[float, float, float] = (0.036, 0.0225, 0.012)
-
length of the ticks drawn for full / half / tenth ticks relative to panel size
base : float | None = 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.