matplotlib.axis.XAxis.get_ticklocs

XAxis.get_ticklocs(minor=False)

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

使用实例 matplotlib.axis.XAxis.get_ticklocs