matplotlib.axes.Axes.get_yticklabels#

Axes.get_yticklabels(minor=False,which=None)[source]#

Get the yaxis' tick labels.

Parameters:
minorbool

Whether to return the minor or the major ticklabels.

whichNone, ('minor', 'major', 'both')

Overridesminor.

Selects which ticklabels to return

Returns:
list ofText

Examples usingmatplotlib.axes.Axes.get_yticklabels#

Programmatically control subplot adjustment

Programmatically control subplot adjustment

Align tick labels

Align tick labels

Colorbar Tick Labelling

Colorbar Tick Labelling