plotnine.themes.themeable.subplots_adjust

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

Bases: plotnine.themes.themeable.themeable

Adjust position of subplots on in the figure

Useful if part of the plot (most likely the legend) are cut off.

Full access to the underlying Matplolib subplot adjustment parameters

Parameters:
theme_element : dict

See matplotlib.figure.SubplotParams for the keys that the dictionary can have.