1from matplotlib import pyplot as plt
2from datetime import datetime, timedelta
3
4xvalues = range(10)
5yvalues = xvalues
6
7fig,ax = plt.subplots()
8plt.plot(xvalues, yvalues)
9
10plt.xticks(fontsize=16)
11# sets font size of xticks to 16 (respective of yticks)
12
13plt.grid(True)
14
15plt.show()
16