plotnine.scales.expand_limits

plotnine.scales.expand_limits(**kwargs)[source]

Expand the limits any aesthetic using data

Parameters:
kwargsdict or dataframe

Data to use in expanding the limits. The keys should be aesthetic names e.g. x, y, colour, ...