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