问题遇到的现象和发生背景
问题相关代码,请勿粘贴截图
运行结果及报错内容
ValueError: The number of FixedLocator locations (9), usually from a call to set_ticks, does not match the number of ticklabels (10).
Process finished with exit code 1
ValueError: The number of FixedLocator locations (9), usually from a call to set_ticks, does not match the number of ticklabels (10).
Process finished with exit code 1
如果要限制xy轴显示范围,可以用
plt.xlim(100,201)
如有用请采纳