Version 2.2.3
matplotlib

matplotlib.axes.Axes.minorticks_off

Axes.minorticks_off()

Remove minor ticks from the axes.