使用Python的气泡图动画
我尝试可视化二氧化碳数据。为了在Python中实现这种泡沫动画效应,我该如何实现?我目前使用Altair图书馆。
动画链接: https://wpivis.github.io/hindsight/hindsight/demos/co2/
非常感谢任何建议
I try to visualize carbon dioxide data. In order to achieve this bubble animation effect in Python, how could I implement this? I currently use the library of Altair.
Animation link: https://wpivis.github.io/hindsight/demos/co2/
Really appreciated for any suggestions
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
直到 https://github.com/vaub.com/vaga/ Vega/essue/641 已解决。您也许可以使用 Plotly Animations 为此像你的示例一样。看来您也可以使用matplotlib来产生类似的效果,例如此博客文章:
This will not be supported in Altair/Vega-Lite until https://github.com/vega/vega/issues/641 is addressed. You might be able to use Plotly animations for this, but I am unsure if they support fading in and out like in your example. It seems like you could also use matplotlib for a similar effect, like what is suggested in this blog post: