Announcing Dash Bio 1.0.0 ๐ŸŽ‰ : a one-stop-shop for bioinformatics and drug development visualizations.

Specifying Color line in Plotly Line


When working with multiple lines on a chart, I used color_discrete_map to map the variable to the color.

What if I have just a single line, how do I go about specifying the color for that one line?

Thank you

I figured it this out.

One need to pass the color_discrete_sequence as argument into the px.line


1 Like