plotnine.themes.themeable.aspect_ratio

aspect_ratio(theme_element)

Aspect ratio of the panel(s)

Parameters

theme_element : float

panel_height / panel_width

Notes

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