how to set the bin dize in plt hist code example
Example: plt.hist using bins
counts, bins = np.histogram(data)
plt.hist(bins[:-1], bins, weights=counts)
counts, bins = np.histogram(data)
plt.hist(bins[:-1], bins, weights=counts)