这也是我喜欢用ploty绘制图表的原因,很方便。...row=1, col=1,
annotation_text="过冷警戒线", annotation_position="bottom right")
fig.update_yaxes...", row=1, col=2,
annotation_text="情绪活跃线", annotation_position="top right")
fig.update_yaxes...(title_text="跌停数量", row=2, col=2)
# 统一设置布局
fig.update_layout(
height=700,
showlegend=False,...# 每个图表独立展示,无需图例
template='plotly_white',
margin=dict(t=50, b=50),
hovermode='x unified'
)