See online documentation at https://matplotlib.org/api/_as_gen/matplotlib.pyplot.hist.html The parameter `normed` is never defined.