Bring Drag & Drop to Dash with Dashboard Engine. πŸ’« Learn how at our next webinar!

Draw lines between points in box plot

When drawing boxplots with plotly one can show individual datapoints with the β€œall” option, for example:

# from: https://plotly.com/python/box-plots/
import plotly.express as px
df = px.data.tips()
fig = px.box(df, x="time", y="total_bill", points="all")
fig.show()

I was wondering if there is some easyish way of drawing individual lines between points on the two boxes; to better show the situation where you have paired measurements.

Thank you :slight_smile: