Answers for "get rid of tick labels matplotlib"

C
3

tick labels vertical matplotlib

plt.xticks(rotation=45)
Posted by: Guest on May-11-2020
-1

plt hide axis ticks

pythonCopyimport matplotlib.pyplot as plt

plt.plot([0, 10], [0, 10])
plt.xlabel("X Label")
plt.ylabel("Y Label")

ax = plt.gca()
ax.axes.xaxis.set_visible(False)
ax.axes.yaxis.set_visible(False)

plt.grid(True)
plt.show()
Posted by: Guest on August-06-2020

Code answers related to "get rid of tick labels matplotlib"

Code answers related to "C"

Browse Popular Code Answers by Language