divide ylable into min number matplotlib 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))