Python中的Sankey图 [英] Sankey diagrams in Python

查看:522
本文介绍了Python中的Sankey图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有Python库用于生成 Sankey图表



我见过这个 Sankey图表应用程序和库列表,但它们都不在Python中。

解决方案

显然,matplotlib 1.1 can现在就做这个。 代码和示例输出在这里



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


Is there a Python library for generating Sankey diagrams?

I've seen this list of Sankey diagram applications and libraries, but none of them is in Python.

解决方案

Apparently matplotlib 1.1 can now do this. Code and sample output is here.

Below is a screenshot demonstrating what it can do.

这篇关于Python中的Sankey图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆