set inverval y axis python plot 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))