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.