@@ -471,9 +471,10 @@ class OCRLayoutManager:
}
+ # 🔧 修复:使用 use_container_width 替代废弃的参数
st.plotly_chart(
fig,
- width='content',
+ use_container_width=True, # 🎯 使用容器宽度
config=plot_config,
key=f"{layout_type}_plot"
)