matplotlib custom xtick values code example
Example 1: 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)
Example 2: change xticks python
plt.xticks(np.arange(0,10),np.arange(10,20))