Version 2.2.2
matplotlib

matplotlib.axes.Axes.get_ymajorticklabels

Axes.get_ymajorticklabels()

Get the major y tick labels.

Returns:

labels : list

List of Text instances