Fixed database typo and removed unnecessary class identifier.
This commit is contained in:
parent
00ad49a143
commit
45fb349a7d
5098 changed files with 952558 additions and 85 deletions
12
venv/Lib/site-packages/matplotlib/tests/test_sankey.py
Normal file
12
venv/Lib/site-packages/matplotlib/tests/test_sankey.py
Normal file
|
@ -0,0 +1,12 @@
|
|||
from matplotlib.sankey import Sankey
|
||||
|
||||
|
||||
def test_sankey():
|
||||
# lets just create a sankey instance and check the code runs
|
||||
sankey = Sankey()
|
||||
sankey.add()
|
||||
|
||||
|
||||
def test_label():
|
||||
s = Sankey(flows=[0.25], labels=['First'], orientations=[-1])
|
||||
assert s.diagrams[0].texts[0].get_text() == 'First\n0.25'
|
Loading…
Add table
Add a link
Reference in a new issue