plotnine.themes.themeable.legend_direction

legend_direction(theme_element)

Layout items in the legend

Parameters

theme_element : Literal["vertical", "horizontal"]

Vertically or horizontally