Version 3.0.2
matplotlib

matplotlib.axes.Axes.get_ymajorticklabels

Axes.get_ymajorticklabels()

Get the major y tick labels.

Returns:

labels : list

List of Text instances