Version 2.2.2
matplotlib
Fork me on GitHub

matplotlib.axes.Axes.minorticks_off

Axes.minorticks_off()

Remove minor ticks from the axes.