While plotting using Matplotlib, I have found how to change the font size of the labels.
But, how can I change the size of the numbers in the scale?
For clarity, suppose you plot x^2 from (x0,y0) = 0,0 to (x1,y1) = (20,20).
The scale in the x-axis below maybe something like
0 1 2 … 20.
I want to change the font size of such scale of the x-axis.
Matplotlib refers to these as xtick labels. They can be changed in a large number of different ways, passed in as parameters, or iterated through and edited (as in the case of the solution posted here Matplotlib make tick labels font size smaller).
I went ahead and posted a more concise solution, as the former was very inefficient.