title: Python legend attribute error
body: <p>Why am I getting an error here that relates to the plt.plot label?</p>
  
  <pre><code>fig = plt.figure()
  ax = plt.gca()
  barplt = plt.bar(bins,frq,align='center',label='Dgr')
  normplt = plt.plot(bins_n,frq_n,'--r', label='Norm');
  ax.set_xlim([min(bins)-1, max(bins)+1])
  ax.set_ylim([0, max(frq)])
  plt.xlabel('Dgr')
  plt.ylabel('Frequency')
  plt.show()
  plt.legend(handles=[barplt,normplt])
  </code></pre>
  
  <p>This is the error that I get:
  <em>'list' object has no attribute 'get_label'</em></p>