I went through Plotly Pythons documentation and could find a way to do it. I am trying to plot over 1000 lines and some of it plots on top of each other. I want to see duplicated lines. I tried passing random line width, but sometimes most bold line plots on top. Tried making lines transparent did not work as well. Please advise I inserted simple example below:
x = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
y = [10, 8, 6, 4, 2, 0, 2, 4, 2, 0]
fig = go.Figure()
fig.add_trace(go.Scatter(
x=x, y=y,
line_color='red',
name='Duplicate1',
))
fig.add_trace(go.Scatter(
x=x, y=y,
line_color='rgb(231,107,243)',
name='Duplicate2',
))
fig.update_traces(mode='lines')
fig.show()


