plotnine.themes.themeable.axis_text

axis_text(theme_element)

Axis tick labels

Parameters

theme_element : element_text

Notes

Use the margin to control the gap between the ticks and the text. e.g.

theme(axis_text=element_text(margin={"t": 5, "r": 5, "units": "pt"}))

creates a margin of 5 points.