Matplotlib yaxis range display using absolute values rather than offset values?

Solution 1:

set useOffset to False:

ax = plt.gca()
ax.ticklabel_format(useOffset=False)

Solution 2:

This answer suggested disabling the offset as a global setting, which worked for me:

matplotlib.rcParams['axes.formatter.useoffset'] = False