Version 3.0.2
matplotlib

matplotlib.axes.Axes.minorticks_off

Axes.minorticks_off()

Remove minor ticks from the axes.