pyplot.hist is wrong here