How to replace ticks in Matplotlib?

后端 未结 0 2153
独厮守ぢ
独厮守ぢ 2021-02-20 16:19

I would like to change the ticks intervals on a figure, which looks like that:

I use this:

plt.xticks(np.arange(1945, 2016, 10))

H

相关标签:
回答
  • 消灭零回复
提交回复
热议问题