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

matplotlib.pyplot.minorticks_off

matplotlib.pyplot.minorticks_off()[source]

Remove minor ticks from the axes.