Test creating a figure
()
| 11 | |
| 12 | @requires_application() |
| 13 | def test_figure_creation(): |
| 14 | """Test creating a figure""" |
| 15 | with vp.Fig(show=False) as fig: |
| 16 | fig[0, 0:2] |
| 17 | fig[1:3, 0:2] |
| 18 | ax_right = fig[1:3, 2] |
| 19 | assert fig[1:3, 2] is ax_right |
| 20 | # collision |
| 21 | assert_raises(ValueError, fig.__getitem__, (slice(1, 3), 1)) |
| 22 | |
| 23 | |
| 24 | @requires_application() |
nothing calls this directly
no test coverage detected
searching dependent graphs…