plotnine.positions.position_jitter

class plotnine.positions.position_jitter(width=None, height=None, random_state=None)[source]

Jitter points to avoid overplotting

Parameters
widthfloat

Proportion to jitter in horizontal direction. Default is 0.4 of the resolution of the data.

heightfloat

Proportion to jitter in vertical direction. Default is 0.4 of the resolution of the data.

random_stateint or RandomState, optional

Seed or Random number generator to use. If None, then numpy global generator numpy.random is used.