Version 2.2.2
matplotlib
Fork me on GitHub

matplotlib.axis.YAxis.iter_ticks

YAxis.iter_ticks()

Iterate through all of the major and minor ticks.