(fig_test, fig_ref)
| 1876 | |
| 1877 | @check_figures_equal() |
| 1878 | def test_shared_view(fig_test, fig_ref): |
| 1879 | elev, azim, roll = 5, 20, 30 |
| 1880 | ax1 = fig_test.add_subplot(131, projection="3d") |
| 1881 | ax2 = fig_test.add_subplot(132, projection="3d", shareview=ax1) |
| 1882 | ax3 = fig_test.add_subplot(133, projection="3d") |
| 1883 | ax3.shareview(ax1) |
| 1884 | ax2.view_init(elev=elev, azim=azim, roll=roll, share=True) |
| 1885 | |
| 1886 | for subplot_num in (131, 132, 133): |
| 1887 | ax = fig_ref.add_subplot(subplot_num, projection="3d") |
| 1888 | ax.view_init(elev=elev, azim=azim, roll=roll) |
| 1889 | |
| 1890 | |
| 1891 | def test_shared_axes_retick(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…