import matplotlib.pyplot as plt
import numpy as np
index = [0,1,2,3,4]
#index = np.arange(5)
values = [5,7,3,4,6]
plt.bar(index,values)
plt.xticks(index+0.4,['A','B','C','D','E'])
plt.show()
import matplotlib.pyplot as plt
import numpy as np
index = [0,1,2,3,4]
#index = np.arange(5)
values = [5,7,3,4,6]
plt.bar(index,values)
plt.xticks(index+0.4,['A','B','C','D','E'])
plt.show()