I'm trying to plot a line graph of ten values with error ranges over each point:
u = [1,2,3,4,5,6,7,8,9,10]
plt.errorbar(range(10), u, yerr=1)
plt.show()
I get the error message
ValueError: too many values to unpack
Can someone please advise me the best way to plot a line graph with error bars over each point? http://matplotlib.org/api/pyplot_api.html#matplotlib.pyplot.errorbar
thx