plotnine.themes.themeable.legend_justification_top
legend_justification_top(theme_element)
Justification of legends placed at the top
Parameters
theme_element : Literal["left", "center", "right"] | float
-
How to justify the entire group with 1 or more guides. i.e. How to slide the legend along the top row. If a float, it should be in the range
[0, 1]
, where0
is"left"
and1
is"right"
.