I'm trying to make an errorbar plot with my data. X is a 9 element ndarray. Y and Yerr are 9x5 ndarrays. When I call:
matplotlib.pyplot.errorbar(X, Y, Yerr)
I get a ValueError: "yerr must be a scalar, the same dimensions as y, or 2xN."
But Y.shape == Yerr.shape is True.
I'm running on 64 bit Windows 7 with Spyder 2.3.8 and Python 3.5.1. Matplotlib is up to date. I've installed Visual C++ Redistributable for Visual Studio 2015.
Any ideas?
Edit: Some data.
X=numpy.array([1,2,3])
Y=numpy.array([[1,5,2],[3,6,4],[9,3,7]])
Yerr=numpy.ones_like(Y)
*xerr*/*yerr*: [ scalar | N, Nx1, or 2xN array-like ].