()
| 133 | |
| 134 | |
| 135 | def test_label_outer_span(): |
| 136 | fig = plt.figure() |
| 137 | gs = fig.add_gridspec(3, 3) |
| 138 | # +---+---+---+ |
| 139 | # | 1 | | |
| 140 | # +---+---+---+ |
| 141 | # | | | 3 | |
| 142 | # + 2 +---+---+ |
| 143 | # | | 4 | | |
| 144 | # +---+---+---+ |
| 145 | a1 = fig.add_subplot(gs[0, 0:2]) |
| 146 | a2 = fig.add_subplot(gs[1:3, 0]) |
| 147 | a3 = fig.add_subplot(gs[1, 2]) |
| 148 | a4 = fig.add_subplot(gs[2, 1]) |
| 149 | for ax in fig.axes: |
| 150 | ax.label_outer() |
| 151 | check_ticklabel_visible( |
| 152 | fig.axes, [False, True, False, True], [True, True, False, False]) |
| 153 | |
| 154 | |
| 155 | def test_label_outer_non_gridspec(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…