PLT.HIST UTILISATION

counts, bins = np.histogram(data)
plt.hist(bins[:-1], bins, weights=counts)
Perro Fiel