axis.ticks plt code example
Example 1: change x axis frequency
start, end = ax.get_xlim()
ax.xaxis.set_ticks(np.arange(start, end, stepsize))
Example 2: change xticks python
plt.xticks(np.arange(0,10),np.arange(10,20))
start, end = ax.get_xlim()
ax.xaxis.set_ticks(np.arange(start, end, stepsize))
plt.xticks(np.arange(0,10),np.arange(10,20))