Skip to content

aes

aes(
    x: str | Sequence[Any] | None = None,
    y: str | Sequence[Any] | None = None,
    **kwargs: object,
) -> FeatureSpec

Define aesthetic mappings.

Parameters:

  • x (str, default: None ) –

    Columns mapped to the x and y positions.

  • y (str, default: None ) –

    Columns mapped to the x and y positions.

  • **kwargs (object) –

    Other aesthetics, e.g. color="cluster", size="count", group=[...].

Returns:

  • FeatureSpec –

    Aesthetic mapping specification (kind "mapping").