Px.line() adding extra linear faded/dashed lines all over plot

I’m not sure if this will fix your issue, but (I’m pretty sure) your call to px.line should look like this: px.line(data, x='x’, y=‘y’, color=‘line_id’)

Try that and see if it helps.