matplotlib histogram edge code example Example: plt normalized histogram plt.hist(data, density=True)