plotnine.themes.themeable.axis_text_y

axis_text_y(theme_element)

y-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_y=element_text(margin={"r": 5, "units": "pt"}))

creates a margin of 5 points.