小编use*_*552的帖子

为streamlit line_chart添加标签x轴和y轴

我想为我的简单line_chartin中的 x 和 y 轴添加标签streamlit

绘图命令是

st.line_chart(df[["capacity 1", "capacity 2"]])
Run Code Online (Sandbox Code Playgroud)

line_chart它用 2 条线(容量 1 和容量 2)绘制 a 。

是否有一个简单的命令来添加 x 和 y 轴标签(也许还有图表标题)?

python axis linechart streamlit

9
推荐指数
1
解决办法
7046
查看次数

标签 统计

axis ×1

linechart ×1

python ×1

streamlit ×1