I am using go.Bar (horizontal) to create a timeline chart of sorts, using
x to define the position and span of each bar.
I’m doing this in a a multi-plot graph (with
make_subplots), because I want to be able to create distinct “lanes” with different heights (based on the number of associated data points).
It looks like this:
However, I need to be able to add multiple bars in the same row for the same “lane”.
Essentially, to achieve something similar to the grouping that can be achieved with
px.timeline or the old
Since I’m in a subplot situation, I cannot however use either of those (nor can I use facets in plotly express as all subplots would then show all values for the y axis, and have the same heights).
I’ve not discovered a way to control go.Bar to do this. Am I missing something? I’m assuming px.timeline uses that under the hood though…