()
| 1621 | |
| 1622 | |
| 1623 | def test_ax3d_tickcolour(): |
| 1624 | fig = plt.figure() |
| 1625 | ax = Axes3D(fig) |
| 1626 | |
| 1627 | ax.tick_params(axis='x', colors='red') |
| 1628 | ax.tick_params(axis='y', colors='red') |
| 1629 | ax.tick_params(axis='z', colors='red') |
| 1630 | fig.canvas.draw() |
| 1631 | |
| 1632 | for tick in ax.xaxis.get_major_ticks(): |
| 1633 | assert tick.tick1line._color == 'red' |
| 1634 | for tick in ax.yaxis.get_major_ticks(): |
| 1635 | assert tick.tick1line._color == 'red' |
| 1636 | for tick in ax.zaxis.get_major_ticks(): |
| 1637 | assert tick.tick1line._color == 'red' |
| 1638 | |
| 1639 | |
| 1640 | @check_figures_equal() |
nothing calls this directly
no test coverage detected
searching dependent graphs…