plotnine.themes.themeable.legend_text_position

legend_text_position(theme_element)

Position of the legend text

Alignment of legend title

Parameters

theme_element : Literal["top", "bottom", "left", "right"] | None

Position of the legend key text. The default depends on the position of the legend.