It looks like the following line solves the issue:
plt.ticklabel_format(style="plain", axis="y")
Here is the documentation link.
It looks like the following line solves the issue:
plt.ticklabel_format(style="plain", axis="y")
Here is the documentation link.