matplotlib.axes.Axes.minorticks_off

Axes.minorticks_off(self)

Remove minor ticks from the axes.