I'd like to know if anyone has a solution to overlapping timeline bars?
import plotly.express as px
import pandas as pd
df = pd.DataFrame([
dict(Task="Job A", Start='2009-01-01', Finish='2009-02-28', Resource="Alex"),
dict(Task="Job B", Start='2009-02-25', Finish='2009-04-15', Resource="Alex"),
dict(Task="Job C", Start='2009-02-23', Finish='2009-05-23', Resource="Max"),
dict(Task="Job D", Start='2009-02-20', Finish='2009-05-30', Resource="Max")
])
fig = px.timeline(df, x_start="Start", x_end="Finish", y="Resource", color="Resource")
fig.show()
And in the image it's very difficult to see:
- Where Job A ends/Job B starts
- Job D is not visible at all
Any suggestions?


