ticks font size matplotlib
ax.tick_params(axis='both', which='major', labelsize=10)
ticks font size matplotlib
ax.tick_params(axis='both', which='major', labelsize=10)
matplotlib xticks font size
plt.xticks(fontsize=14, rotation=90)
change ticks font size matplotlib python
from matplotlib import pyplot as plt
from datetime import datetime, timedelta
xvalues = range(10)
yvalues = xvalues
fig,ax = plt.subplots()
plt.plot(xvalues, yvalues)
plt.xticks(fontsize=16)
# sets font size of xticks to 16 (respective of yticks)
plt.grid(True)
plt.show()
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us