Streamlit/html/CSS 中的 Matplotlib 交互式小部件

问题描述 投票:0回答:0

我用 Matplotlib 构建了一个交互式小部件。花了我很多功夫,才意识到

st.pyplot
功能把图形变成了静态图像,为时已晚。

我想增加互动性,但我不确定该怎么做:

  1. 我放弃了,用css(我不懂的语言)构建它
  2. 我将它与带有 JS 的 mlpd3 集成(我也不掌握)
  3. 我使用基于 CSS 的 streamlit clickable_image 组件
  4. 我使用与 streamlit 兼容的 python 包(哪个?),可以集成交互性。
  5. 其他解决方案

你遇到过类似的情况吗?你建议我做什么?

python css matplotlib interactive streamlit
© www.soinside.com 2019 - 2024. All rights reserved.