plotnine.themes.themeable.axis_text_x

axis_text_x(theme_element)

x-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_x=element_text(margin={"t": 5, "units": "pt"}))

creates a margin of 5 points.