We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2fb60f commit ee15f8aCopy full SHA for ee15f8a
1 file changed
lib/matplotlib/tests/test_sankey.py
@@ -5,3 +5,8 @@ def test_sankey():
5
# lets just create a sankey instance and check the code runs
6
sankey = Sankey()
7
sankey.add()
8
+
9
10
+def test_label():
11
+ s = Sankey(flows=[0.25], labels=['First'], orientations=[-1])
12
+ assert s.diagrams[0].texts[0].get_text() == 'First\n0.25'
0 commit comments