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

matplotlib.axes.Axes.get_yticklabels

Axes.get_yticklabels(self, minor=False, which=None)

Get the y tick labels as a list of Text instances.

Parameters:
minor : bool

If True return the minor ticklabels, else return the major ticklabels

which : None, ('minor', 'major', 'both')

Overrides minor.

Selects which ticklabels to return

Returns:
ret : list

List of Text instances.