intro-to-python icon indicating copy to clipboard operation
intro-to-python copied to clipboard

Matplotlib Bar Charts - Removing Scientific Notation

Open s2t2 opened this issue 4 years ago • 0 comments

... in the Chart Gallery exercise. Some students were seeing scientific notation to represent the large numbers. And said they were able to solve this with code like:

plt.gcf().axes[0].xaxis.get_major_formatter().set_scientific(False)

s2t2 avatar Jun 08 '20 21:06 s2t2