(fig_test, fig_ref)
| 93 | |
| 94 | @check_figures_equal() |
| 95 | def 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() |