how to set the increments of plotlib label 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))