title: Matplotlib asymmetric yerr way off
body: <p>As far as I can tell, matplotlib is just plotting incorrect values for my error bars. I've simplified my code as far as I can, down to hard-coding in values and things are still wrong... In the following example, I've plotted the exact same values through <code>scatter</code>, and they appear where I would expect them to - but the error bars are miles off. Have I misunderstood something?</p>
  
  <h1>Minimal example:</h1>
  
  <pre><code>from matplotlib.pyplot import *
  
  x = [1, 2, 3, 4, 5]
  y = [5, 11, 22, 44, 88]
  err = [[4.3, 10.1, 19.8, 40, 81.6],
         [5.9, 13.6, 24.6, 48.5, 100.2]]
  
  figure();
  errorbar(x, y, yerr=err, label="data")
  scatter(x, err[0], c='r', label="lower limit")
  scatter(x, err[1], c='g', label="upper limit")
  
  legend()
  show()
  </code></pre>
  
  <h1>Result:<a href="https://i.stack.imgur.com/jPEfs.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jPEfs.png" alt="Result of the code sample above"></a></h1>