python - Python 中的桑基图

标签 python graph visualization diagram sankey-diagram

是否有用于生成 Sankey diagrams 的 Python 库? ?

我看过这个list of Sankey diagram applications and libraries ,但它们都不是用 Python 编写的。

最佳答案

显然 matplotlib 1.1 现在可以做到这一点。 Code and sample output is here .

下面是一个屏幕截图,展示了它可以做什么。

enter image description here

关于python - Python 中的桑基图,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1620125/

相关文章:

python - “ float ”对象没有属性 'replace' IP 地址

mysql - 在 MySQL 中存储图形是个好主意吗?

java - 图形可视化

excel - 精确的流程事件时间线图(例如在 Excel 中)

java - 在处理 3.x 时同时运行 oscp5 库和 P3D 渲染器时出现问题

python - # 符号截断 URL 文本 Flask 应用程序

python - 具有对数比例色图的 Geopandas

python - Pyramid 配置 .ini 文件,setup.py 和 requirements.txt

algorithm - Pagerank 与 SVD

algorithm - 如何找到顶点 i 和 j 之间最多有 S 个顶点的最小路径