plotnine.themes.themeable.legend_position¶
- class plotnine.themes.themeable.legend_position(theme_element: Any = None)[source]¶
Bases:
themeable
Location of legend
- Parameters
- theme_element
python:str
orpython:tuple
If a string it should be one of right, left, top bottom or none. If a tuple, it should be two floats each in the approximate range [0, 1]. The tuple specifies the location of the legend in screen coordinates.
- theme_element