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_elementfloat

panel_height / panel_width

Notes

For a fixed relationship between the x and y scales, use coord_fixed.