change the axis intervals in matlplot lib code example
Example: change x axis frequency
start, end = ax.get_xlim()
ax.xaxis.set_ticks(np.arange(start, end, stepsize))
start, end = ax.get_xlim()
ax.xaxis.set_ticks(np.arange(start, end, stepsize))