Rug plot#
A rug plot draws small tick marks along the x-axis to show individual observations. It works well layered with a histogram or KDE.
gufo.chart(df).rug("income").show()
Customize height and opacity#
gufo.chart(df).rug("income", height=0.1, alpha=0.8).show()
Color#
gufo.chart(df).rug("income", color="region").legend().show()
Layered with histogram#
gufo.chart(df).histogram("income").rug("income", color="red").show()