I am plotting some values in a semilogy plot. I need to use the
ax.set_yscale(\'log\')
rather than
ax.semilogy(...
The labels shown are minor ticklabels. You may set the minor ticks to an empty list to get rid of them.
ax.set_yticks([], minor=True)
or just set the minor ticks off,
ax.minorticks_off()