x坐标数太密集 解决办法
官方文档
https://matplotlib.org/3.1.1/gallery/ticks_and_spines/tick-locators.html
#只显示3个点
plt.gca().xaxis.set_major_locator(ticker.LinearLocator(3))

x坐标数太密集 解决办法
官方文档
https://matplotlib.org/3.1.1/gallery/ticks_and_spines/tick-locators.html
#只显示3个点
plt.gca().xaxis.set_major_locator(ticker.LinearLocator(3))