Scatter: Howto group points (time data of events) of the same category using a common meta information

Dear all,

first thank you very much for this great toolbox plotly, it is so helpful!

If have the following issue: I have time data about groups of events and like to visualize the coherence of these (groups of) points in a scatter plot. Do you have any idea how to do this in python?

Please find below a chart with manually added cluster-lines.

Thank you and all the best,