coord_cartesian ¶
coord_cartesian(
xlim: Sequence[Number | None] | None = None,
ylim: Sequence[Number | None] | None = None,
flip: bool = False,
) -> FeatureSpec
Cartesian coordinates; limits zoom without dropping data.
Parameters:
-
xlim(list, default:None) –[low, high]in data units (Nonekeeps that side); the axis shows exactly this range, data outside is clipped, not removed. -
ylim(list, default:None) –[low, high]in data units (Nonekeeps that side); the axis shows exactly this range, data outside is clipped, not removed. -
flip(bool, default:False) –Swap x and y (not drawn yet; ggrust warns).
Returns:
-
FeatureSpec–The coordinate system.