seaborn.rugplot

seaborn.rugplot(a, height=0.05, axis='x', ax=None, **kwargs)

Plot datapoints in an array as sticks on an axis.

Parameters
avector

1D array of observations.

heightscalar, optional

Height of ticks as proportion of the axis.

axis{‘x’ | ‘y’}, optional

Axis to draw rugplot on.

axmatplotlib axes, optional

Axes to draw plot into; otherwise grabs current axes.

kwargskey, value pairings

Other keyword arguments are passed to LineCollection.

Returns
axmatplotlib axes

The Axes object with the plot on it.