plotnine.geom_dotplot

geom_dotplot(mapping=None, data=None, **kwargs)

Dot plot

{usage}

Parameters

stackdir : Literal["up", "down", "center", "centerwhole"] = "up"

Direction in which to stack the dots. Options are

stackratio : float = 1

How close to stack the dots. If value is less than 1, the dots overlap, if greater than 1 they are spaced.

dotsize : float = 1

Diameter of dots relative to binwidth.

stackgroups : bool = False

If True, the dots are stacked across groups.

See Also

stat_bindot

The default stat for this geom.