import matplotlib.ticker as tkr #define how we want to change scale def numfmt(x, pos): s = f'{x/100:,.0f}' return s yfmt = tkr.FuncFormatter(numfmt) ax.yaxis.set_major_formatter(yfmt)