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
orRandomState
, optional Seed or Random number generator to use. If
None
, then numpy global generatornumpy.random
is used.
- width