Skip to content

lims

lims(
    x: Sequence[Any] | None, y: Sequence[Any] | None
) -> FeatureSpec

Limits for both axes: xlim(*x) + ylim(*y).

Parameters:

  • x (list of float or None) –

    [low, high]; None inside a list leaves that side free.

  • y (list of float or None) –

    [low, high]; None inside a list leaves that side free.

Returns:

  • FeatureSpec –

    Scale specifications.