Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #turn #xticks #matplotlib
ADD COMMENT
Topic
Name
3+5 =