plotnine.themes.themeable.aspect_ratio¶
- class plotnine.themes.themeable.aspect_ratio(theme_element: Any = None)[source]¶
Bases:
themeable
Aspect ratio of the panel(s)
- Parameters:
- theme_element
float
panel_height / panel_width
- theme_element
Notes
For a fixed relationship between the
x
andy
scales, usecoord_fixed
.