from plotnine import (
ggplot,
aes,
geom_area,
geom_line,
scale_x_date,
scale_y_continuous,
theme_linedraw,
theme_set,
)
from plotnine.data import economics
# Set default theme
theme_set(theme_linedraw()) plotnine.geom_area
geom_area(mapping=None, data=None, **kwargs)Area plot
{usage}
An area plot is a special case of geom_ribbon, where the minimum of the range is fixed to 0, and the position adjustment defaults to ‘stack’.
