import matplotlib.pyplot as plt
cd_value = [0.598,.54,0.55,0.56,0.61,0.58,0.55,0.56,0.51,0.55,0.716,0.72,0.70,0.65,0.7,0.58,0.67,0.65,0.59,0.61,0.616,0.59,0.49,0.56,0.49,0.56,0.57,0.52,0.54,0.6,0.555,0.53,0.533,0.515,0.505,0.545,0.5,0.546,0.526,0.533,0.59,0.56,0.56,0.54,0.54,0.62,0.55,0.54,0.56,0.55]
ids = [x for x in range (len(cd_value))]
#bins = [0.54,0.55,0.56,0.57,0.58,0.59,0.60,0.61,0.62,0.63,0.64,0.65,0.66,0.67,0.68,0.69,0.70,0.71,0.72,0.73]
plt.hist(cd_value,bins=10,histtype='bar', rwidth=0.9,range=None)
plt.xlabel('x-axis')
plt.ylabel('y-axis')
plt.title('histogram')
#plt.legend()
plt.show()