You are reading documentation for the unreleased version of Matplotlib. Try searching for the released version of this page instead?
Version 3.1.0.post1496+gb03370a04
matplotlib
Fork me on GitHub

matplotlib.pyplot.minorticks_off

matplotlib.pyplot.minorticks_off()[source]

Remove minor ticks from the axes.