With a simple dataFrame that look like this
The following code
fig = px.timeline(df,
x_start="Target Date Start",
x_end="Target Date End",
y="Initiative",
color="Status Bin",
facet_row="Project Key",
template="plotly_white")
Generates a graph that does not adjust based on facet row. I would expect only initiatives associated with a given project key to show in the y marks, but instead all initiatives are shown:
Note that it shows only the relevant bars but it shows all y marks as opposed to filter for relevant initiatives and also it keeps the size the same across facet_rows whereas I would expect their size to be proportional to the number of initiatives in their resp. group
EDIT: r-beginners suggested fix