SyntaxFix
Write A Post
Hire A Developer
Questions
See the relevant documentation in general and specifically
from matplotlib.ticker import FormatStrFormatter fig, ax = plt.subplots() ax.yaxis.set_major_formatter(FormatStrFormatter('%.2f'))