plotnine.coord_cartesian
coord_cartesian(xlim=None, ylim=None, expand=True)Cartesian coordinate system
Parameters
xlim : tuple[Any, Any] | None = None-
Limits (in data type of the x-aesthetic) for x axis. If None, then they are automatically computed.
ylim : tuple[Any, Any] | None = None-
Limits (in data type of the x-aesthetic) for y axis. If None, then they are automatically computed.
expand : bool = True-
If
True, expand the coordinate axes by some factor. IfFalse, use the limits from the data.