title: Plotly: How to create a line plot with different style and color for each variable?
body: <p>I am trying to create a graph with 10 different lines with different colours and markers using Plotly express. Something similar to this:</p>
  <p><a href="https://i.stack.imgur.com/JmH6n.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/JmH6n.png" alt="enter image description here" /></a></p>
  <p>I can create a nice looking graph with different colours using the <code>px.line</code> function as the documentation suggests. My code looks like this:</p>
  <pre class="lang-py prettyprint-override"><code>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)
  </code></pre>
  <p>and my line graph looks like this:</p>
  <p><a href="https://i.stack.imgur.com/zh1YI.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zh1YI.png" alt="enter image description here" /></a></p>
  <p>where each variable is a (25,) numpy array with random values from the standard normal distribution (created with <code>np.random.randn(25)</code>).</p>
  <p>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.</p>
  <p>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?</p>
  <p>EDIT: The graph purpose is solely to show that the signals are random and within the standard normal distribution limits.</p>