My code:
import matplotlib.pyplot as plt
a = [0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9]
b = [8.8913, 3.9714, 2.3416, 1.5099, 1.0078, 0.6577, 0.4198, 0.2523, 0.1141]
plt.bar(a,b)
plt.show()
I can't find a problem in this code but the graph that this outputs does not show the true values.
There are several mistakes like ,the x axis should have 0.1,0.2,0.3.,.. but it starts from -0.3? also for 0.2 the height should be around 3.9 but it is around 8 here?
Question : where have I gone wrong?

