Why does matplotlib show two error lines? I think this may have something to do with asymmetric errors.
You can reproduce the problem with this:
>>> import matplotlib.pyplot as plt >>> plt.errorbar([1,2,3],[3,4,2],yerr=[[1,2,0.5]]*2, label='data') <Container object of 3 artists> >>> plt.legend() <matplotlib.legend.Legend object at 0x10b82f590> >>> plt.show()
source share