Version 2.2.4
matplotlib

matplotlib.axes.Axes.get_xmajorticklabels

Axes.get_xmajorticklabels()

Get the major x tick labels.

Returns:

labels : list

List of Text instances