Strip plot#

A strip plot shows individual data points along a categorical axis, with random jitter to reduce overplotting.

gufo.chart(df).strip("department", "salary").show()

Horizontal#

gufo.chart(df).strip("department", "salary", horizontal=True).show()

Jitter width#

Control the amount of random spread. Default is 0.2.

gufo.chart(df).strip("department", "salary", jitter=0.4).show()

Color#

gufo.chart(df).strip("department", "salary", color="steelblue").show()

Wide-form data#

Pass a list of column names as y to create one strip per column.

gufo.chart(df).strip(None, ["q1_scores", "q2_scores", "q3_scores"]).show()

API reference#

See gufo.core.chart.Chart.strip().