title: typeerror in basic example for legend handles in matplotlib
body: <p>I have difficulties to understand the legend handling. The more, the basic example from the official <a href="http://matplotlib.org/users/legend_guide.html" rel="nofollow">matplotlib legend guide</a> </p>
  
  <pre><code>import matplotlib.pyplot as plt
  line_up, = plt.plot([1,2,3], label='Line 2')
  line_down, = plt.plot([3,2,1], label='Line 1')
  plt.legend(handles=[line_up, line_down])
  </code></pre>
  
  <p>fails with <code>TypeError: __init__() got multiple values for keyword argument 'handles'</code>. </p>
  
  <p>What am I doing wrong? Any ideas? </p>
  
  <p>My matplotlib version is <code>1.3.1</code>. I am on Ubuntu 14.04..</p>
  
  <p>Here is the full traceback (with the above lines in the python script)</p>
  
  <pre><code>heiland@note121:bauHS15_iomapsgenpod$ python testleg.py 
  Traceback (most recent call last):
    File "testleg.py", line 4, in &lt;module&gt;
      plt.legend(handles=[line_up, line_down])
    File "/usr/lib/pymodules/python2.7/matplotlib/pyplot.py", line 3381, in legend
      ret = gca().legend(*args, **kwargs)
    File "/usr/lib/pymodules/python2.7/matplotlib/axes.py", line 4778, in legend
      self.legend_ = mlegend.Legend(self, handles, labels, **kwargs)
  TypeError: __init__() got multiple values for keyword argument 'handles'
  </code></pre>