Version 3.0.2
matplotlib

matplotlib.axes.Axes.get_xmajorticklabels

Axes.get_xmajorticklabels()

Get the major x tick labels.

Returns:

labels : list

List of Text instances