Sankey diagrams in Python

nazca picture nazca · Oct 25, 2009 · Viewed 8.7k times · Source

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.

Answer

saveenr picture saveenr · Oct 13, 2011

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

Below is a screenshot demonstrating what it can do.

enter image description here