Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这是我的代码的结果,可以进行哪些更改?
我想要这个结果:
请帮忙。
一起使用 xticks 和 numpy ,您可以提供以下步骤:
matplotlib.pyplot.xticks(numpy.arange(0,21,step=5))
样本输出: