for the orders to work fine, a minor revision in the following line needed https://github.com/anazalea/pySankey/blob/811a63823692b2ae3d346bbda4ea5990677f409c/pysankey/sankey.py#L42 this should be modified as : if len(labels) >0:
for the orders to work fine, a minor revision in the following line needed
pySankey/pysankey/sankey.py
Line 42 in 811a638
this should be modified as :
if len(labels) >0: