[ Web Proxy ]
URL:
Viewing: https://matplotlib.org/devdocs/api/_as_gen/../_as_gen/matplotlib.axes.Axes.get_yticklabels.html [Back]  [Original]

matplotlib.axes.Axes.get_yticklabels — Matplotlib 3.12.0.dev857+ge2256af2e documentation
Back to top
Search the docs ...:

matplotlib.axes.Axes.get_yticklabels#

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

Get the yaxis' tick labels.

Warning

Ticks and their constituent parts, including tick labels, are not persistent. Various operations can create, delete, and modify the tick instances; see Tick objects.

You should generally use Axis.set_tick_params / Axis.get_tick_params to define and query tick styling; see Styling ticks (tick parameters).

Parameters:
minorbool

Whether to return the minor or the major ticklabels.

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

Overrides minor.

Selects which ticklabels to return

Returns:
list of Text

Examples using matplotlib.axes.Axes.get_yticklabels#

[]

Programmatically control subplot adjustment

Programmatically control subplot adjustment
[]

Left-aligned y tick labels

Left-aligned y tick labels
[]

Colorbar Tick labelling

Colorbar Tick labelling

Web Proxy Viewer  |  New URL  |  Original Page