matplotlib.axis.YAxis.get_ticklocs

YAxis.get_ticklocs(minor=False)

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