errorbar
Scatter plot error bars (the error on each point is unique)
This is almost like the other answer but you don’t need a scatter plot at all, you can simply specify a scatter-plot-like format (fmt-parameter) for errorbar: import matplotlib.pyplot as plt x = [1, 2, 3, 4] y = [1, 4, 9, 16] e = [0.5, 1., 1.5, 2.] plt.errorbar(x, y, yerr=e, fmt=”o”) plt.show() Result: A … Read more