anazalea / pySankey

create sankey diagrams with matplotlib
GNU General Public License v3.0
249 stars 95 forks source link

Fixed a typo in the check_data_matches_labels #33

Open emmechedue opened 4 years ago

emmechedue commented 4 years ago

There was a typo in the check_data_matches_labels function. It was: if len(labels > 0): instead of if len(labels) > 0: This made it impossible to use the ordering of the names capability. Other than that, great library!

Pierre-Sassoulas commented 4 years ago

This package is not maintained anymore, but this problem was fixed in the last working code available in pySankeyBeta. You can install it with :

pip install pySankeyBeta