
# errbarchart.py

import matplotlib.pyplot as plt

a = [1, 3, 5, 7]
b = [11, 12, 9, 19]
plt.bar(a, b)

c = [1, 3, 2, 1]
plt.errorbar(a, b, yerr=c, fmt="o", color="r")

plt.show()
