plotnine.themes.themeable.aspect_ratio

class plotnine.themes.themeable.aspect_ratio(theme_element=None)[source]

Bases: plotnine.themes.themeable.themeable

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.