Answers for "matplotlib set xticks different scale"

1

matplotlib xticks font size

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

turn off xticks matplotlib

# for matplotlib.pyplot
# ---------------------
plt.xticks([], [])
# for axis object
# ---------------
# from Anakhand May 5 at 13:08
# for major ticks
ax.set_xticks([])
# for minor ticks
ax.set_xticks([], minor=True)
Posted by: Guest on October-11-2020

Python Answers by Framework

Browse Popular Code Answers by Language