matplotlib.axes.Axes.get_yticks

Axes.get_yticks(*, minor=False)

Return the yaxis' tick locations in data coordinates.