我有一个数据框并使用plotly我想可视化数据。我有以下代码
plotly
fig = px.line(df, x="row_num", y="audienceWatchRatio", color='vid_id') fig.show()
它真的很乱,所以我想要一个下拉菜单,用户可以在其中选择vid_id并且它只显示 1 个图形。
vid_id
python plotly plotly-python
plotly ×1
plotly-python ×1
python ×1