We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4fa79f1 commit 58d8f5cCopy full SHA for 58d8f5c
lib/matplotlib/tests/test_sankey.py
@@ -18,5 +18,7 @@ def test_format_using_callable():
18
def show_three_decimal_places(value):
19
return f'{value:.3f}'
20
21
- s = Sankey(flows=[0.25], labels=['First'], orientations=[-1], format=show_three_decimal_places)
+ s = Sankey(flows=[0.25], labels=['First'], orientations=[-1],
22
+ format=show_three_decimal_places)
23
+
24
assert s.diagrams[0].texts[0].get_text() == 'First\n0.250'
0 commit comments