()
| 697 | |
| 698 | |
| 699 | def test_valid_layouts(): |
| 700 | fig = Figure(layout=None) |
| 701 | assert not fig.get_tight_layout() |
| 702 | assert not fig.get_constrained_layout() |
| 703 | |
| 704 | fig = Figure(layout='tight') |
| 705 | assert fig.get_tight_layout() |
| 706 | assert not fig.get_constrained_layout() |
| 707 | |
| 708 | fig = Figure(layout='constrained') |
| 709 | assert not fig.get_tight_layout() |
| 710 | assert fig.get_constrained_layout() |
| 711 | |
| 712 | |
| 713 | def test_invalid_layouts(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…