matplotlib.axis.YAxis.get_majorticklocs

YAxis.get_majorticklocs()

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