title: matplotlib.pyplot How to name different lines in the same plot?
body: <p>Think about doing this:</p>
  
  <pre><code>import matplotlib.pyplot as plt
  
  plt.plot(x_A,y_A,'g--')
  plt.plot(x_B,y_B,'r-o')
  plt.show()
  </code></pre>
  
  <p>How would you go about giving both lines different names, i.e. like Microsoft Excel would do it?</p>