expandLimits

fun expandLimits(x: Any? = null, y: Any? = null, size: Any? = null, color: Any? = null, fill: Any? = null, alpha: Any? = null, shape: Any? = null): Feature

Expands the plot limits to include additional data values.

This function extends the plot boundaries to encompass new data points, whether a single value or multiple values are provided. It acts as a thin wrapper around geomBlank().

Return

Layer object. A result of the geomBlank() call.

Notes

The data value (or values) could be a single value or an iterable or a Pair or Triple.

Examples

Parameters

x

Value (or values) that should be included in x-scale.

y

Value (or values) that should be included in y-scale.

size
color
fill
alpha
shape