matplotlib.axes.Axes.get_xmajorticklabels

Axes.get_xmajorticklabels()

Return the xaxis' major tick labels, as a list of Text.