使用较新版本的plotly,您可以指定 dtick = 'M1' 在每个月初设置网格线。您还可以通过 tickformat 格式化月份的显示: 片段1 fig.update_xaxes(dtick="M2", ...
確定! 回上一頁