MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / test_sankey3

Function test_sankey3

lib/matplotlib/tests/test_sankey.py:95–105  ·  view source on GitHub ↗
(fig_test, fig_ref)

Source from the content-addressed store, hash-verified

93
94@check_figures_equal()
95def test_sankey3(fig_test, fig_ref):
96 ax_test = fig_test.gca()
97 s_test = Sankey(ax=ax_test, flows=[0.25, -0.25, -0.25, 0.25, 0.5, -0.5],
98 orientations=[1, -1, 1, -1, 0, 0])
99 s_test.finish()
100
101 ax_ref = fig_ref.gca()
102 s_ref = Sankey(ax=ax_ref)
103 s_ref.add(flows=[0.25, -0.25, -0.25, 0.25, 0.5, -0.5],
104 orientations=[1, -1, 1, -1, 0, 0])
105 s_ref.finish()

Callers

nothing calls this directly

Calls 4

finishMethod · 0.95
addMethod · 0.95
SankeyClass · 0.90
gcaMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…