plotnine.positions.position_jitter

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

Jitter points to avoid overplotting

Parameters
widthpython:float

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

heightpython:float

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

random_statepython:int or RandomState, optional

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