I would like to print the value of y axis in the top of each bars of my graph. Here is the output :
x = [2011, 2012, 2013]
y = [25, 40, 10]
fig=plt.figure(figsize=(17, 6))
ax=plt.bar(x, y)
plt.show()
Maybe you can help. Thanks
I would like to print the value of y axis in the top of each bars of my graph. Here is the output :
x = [2011, 2012, 2013]
y = [25, 40, 10]
fig=plt.figure(figsize=(17, 6))
ax=plt.bar(x, y)
plt.show()
Maybe you can help. Thanks