Version 3.1.2
matplotlib
Fork me on GitHub

matplotlib.axes.Axes.get_yticks

Axes.get_yticks(self, minor=False)

Return the y ticks as a list of locations