I am trying to create a graph with 10 different lines with different colours and markers using Plotly express. Something similar to this:
I can create a nice looking graph with different colours using the px.line function as the documentation suggests. My code looks like this:
import plotly.express as px
import numpy as np
import pandas as pd
rand_elems = []
for i in range(10):
rand_elems.append(np.random.randn(25))
data = pd.DataFrame(rand_elems)
px.line(data_frame=data.T)
and my line graph looks like this:
where each variable is a (25,) numpy array with random values from the standard normal distribution (created with np.random.randn(25)).
Is there a way I can add different styles to each line? Other plotting libraries are also welcome as I couldn't find a solution for this in Plotly's documentation.
I understand there is a limit of line styles I could use. Maybe I could cycle through them and the colours? What would be a good solution for this?
EDIT: The graph purpose is solely to show that the signals are random and within the standard normal distribution limits.





