# 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)
ax.set_xticks(np.arange(len(data)))
ax.set_xticklabels(labels)
#x-ticks:
plt.xticks(start, stop, step))
#y-ticks:
plt.yticks(np.arange(start,stop,step))
plt.xticks(np.arange(0,10),np.arange(10,20))