matplotlib histogram start from 0 code example Example: make y axis start at 0 python ax.set_ylim(ymin=0)