matplotlib.axis.XAxis.set_ticks

XAxis.set_ticks(ticks, *, minor=False)

从序列刻度设置刻度线的位置

参数:
ticks浮动序列
minor布尔

使用实例 matplotlib.axis.XAxis.set_ticks