title: Python axhline, title and axis labels
body: <p>I am trying to plot a horizontal line over another plot using matplotlib. Everything works except the title and axis labels never show up. How does this work?</p>
  
  <p>*Edit-sorry, code looks sort of like this:
      from matplotlib import pyplot as plt
      n=100</p>
  
  <pre><code>plt.axhline(y=n, label='Old')
  plt.plot([5, 6, 7, 8], [100, 110, 115, 150], 'ro', label='New')
  plt.xlabel=('Example x')
  plt.ylabel=('Example y')
  plt.title=('Example Title')
  plt.legend()
  plt.axis([0,10,50,150])
  plt.show()
  </code></pre>
  
  <p>Everything shows up normally just no title and no axis labels. The legend is there.</p>