Weaving the Sankey diagram

The weave() function actually creates a Sankey diagram from the Sankey diagram definitions and a Datasets.

weave(sankey_definition, dataset, measures='value', link_width=None, link_color=None, palette=None, add_elsewhere_waypoints=True)[source]