MCPcopy
hub / github.com/matplotlib/matplotlib / test_ax3d_tickcolour

Function test_ax3d_tickcolour

lib/mpl_toolkits/mplot3d/tests/test_axes3d.py:1623–1637  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1621
1622
1623def 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()

Callers

nothing calls this directly

Calls 5

tick_paramsMethod · 0.95
Axes3DClass · 0.90
figureMethod · 0.80
drawMethod · 0.45
get_major_ticksMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…