I tried to add space between 2 bars plot.bar([value for value in range(len(y))+0.25], z, width=0.4) but it was showing error "cant convert list to float"
x = x[xleftpos:xrightpos]
y = y[xleftpos:xrightpos]
z = z[xleftpos:xrightpos]
plot.bar([value for value in range(len(x))],y,width=0.4,)
plot.bar([value for value in range(len(x))], z, width=0.4)
plot.set_xticks([idx + 0.5 for idx in range(len(x))])
plot.set_xticklabels(x, rotation=35, ha='right', size=10)
xlocs = [idx + 0.5 for idx in range(len(x))]
for i, v in enumerate(y):
plt.text(xlocs[i] - 0.99, v - 0.98, str(v))
plt.show()


