How to split y-axis overlaid bars into separate lines on px timeline?

I currently have a timeline graph that looks like the following:

Right now, the actual time window is overlaid on the planned time window, but I wanted it to be below the planned time window so that it would be easier to compare. I found an older post that suggested opacity which works, but I’d prefer to split if possible. I essentially want it in this format, which I found on the version 4.10 update notes:

but I can’t for the life of me find any documentation that shows how to separate like this, nor the code for this specific graph. Is it something with how my data is organized that needs to be changed?


I think that just adding fig.update_layout(barmode="group") will do what you’re looking for. px.timeline() generates regular bar traces.

Thank you so much! Worked perfectly.