Check that the x and y tick visibility is as specified. Note: This only checks the tick1line, i.e. bottom / left ticks.
(axs, x_visible, y_visible)
| 44 | |
| 45 | |
| 46 | def check_tick1_visible(axs, x_visible, y_visible): |
| 47 | """ |
| 48 | Check that the x and y tick visibility is as specified. |
| 49 | |
| 50 | Note: This only checks the tick1line, i.e. bottom / left ticks. |
| 51 | """ |
| 52 | for ax, visible, in zip(axs, x_visible): |
| 53 | for tick in ax.xaxis.get_major_ticks(): |
| 54 | assert tick.tick1line.get_visible() == visible |
| 55 | for ax, y_visible, in zip(axs, y_visible): |
| 56 | for tick in ax.yaxis.get_major_ticks(): |
| 57 | assert tick.tick1line.get_visible() == visible |
| 58 | |
| 59 | |
| 60 | def test_shared(): |
no test coverage detected
searching dependent graphs…