Skip to content

sampling_none

sampling_none() -> Literal['none']

Draw every row (no sampling).

ggrust never samples by default, so this only states the default. It returns "none", lets_plot's spelling (sampling="none"), so the spec is the same.

Returns:

  • str –

    "none".

Examples:

>>> from ggrust import *
>>> data = {"x": [1, 2, 3], "y": [3, 1, 2]}
>>> plot = ggplot(data, aes("x", "y")) + geom_point(sampling=sampling_none())