I am confused by the order of arguments to plt.errorbar
I have the following code in my Python script
plt.errorbar(0.0, 1.0, 0.1, 10.0)
I would assume the order of arguments is: x_data, y_data, x_error, y_error
This agrees with: http://matplotlib.org/1.2.1/examples/pylab_examples/errorbar_demo.html
However, when I run this code I get the following output:
Clearly, x=0.0, y=1.0, x_err=10.0, y_err=0.1
So the x_error and y_error arguments are swapped!
My question is why? Is the documentation wrong? I am so confused!
