frommatplotlib.sankeyimportSankeydeftest_sankey():# lets just create a sankey instance and check the code runssankey=Sankey()sankey.add()deftest_label():s=Sankey(flows=[0.25],labels=['First'],orientations=[-1])asserts.diagrams[0].texts[0].get_text()=='First\n0.25'