Answers for "matplotlib tick size"

5

axis number size matplotlib

ax.tick_params(axis="x", labelsize=8)
ax.tick_params(axis="y", labelsize=20)
Posted by: Guest on March-29-2020
1

matplotlib xticks font size

plt.xticks(fontsize=14, rotation=90)
Posted by: Guest on March-24-2020
1

ticks font size matplotlib

ax.tick_params(axis='both', which='major', labelsize=10)
Posted by: Guest on February-12-2021
3

adjust tick label size matplotlib

plt.xticks(fontsize=)
Posted by: Guest on May-11-2020
0

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()
Posted by: Guest on June-14-2021

Code answers related to "matplotlib tick size"

Python Answers by Framework

Browse Popular Code Answers by Language