[英]Is there any way to manually set the frequency of dates on x axis in matplotlib?
使用您的 x 轴日期x=[date1,date2,...]
的数据设置一个变量,然后添加
ax2.xaxis.set_ticklabels(x)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.