matplotlib.axis.XAxis.get_majorticklocs

XAxis.get_majorticklocs()

获取数据坐标中主要刻度位置的数组。