plotnine.positions.position_jitter

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

Jitter points to avoid overplotting

Parameters:
width : float

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

height : float

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

random_state : int or RandomState, optional

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