matplotlib.axes.Axes.get_xmajorticklabels

Axes.get_xmajorticklabels()

返回xaxis的主要刻度标签,作为 Text .

使用实例 matplotlib.axes.Axes.get_xmajorticklabels