I’m trying to replicate this graph in Plotly Express:
So far I have this:
px.scatter(agg_merge, x='Weeks From Go-Live', y='Inc_Count', color='Region', trendline='ols', labels={'Inc_Count': 'Hypercare Entries'}, height=300, width=500) \
.update_traces(mode='lines+markers') \
.update_layout(margin=dict(l=0, r=0, b=0, t=0))
I’d like to update the two scatter traces to ‘lines+markers’ mode, but also make the trendlines dashed. I’m assuming I use some sort of selector
here, but I’m not sure how.