(fig_test, fig_ref)
| 1337 | |
| 1338 | @check_figures_equal() |
| 1339 | def test_culling(fig_test, fig_ref): |
| 1340 | xmins = (-100, -50) |
| 1341 | for fig, xmin in zip((fig_test, fig_ref), xmins): |
| 1342 | ax = fig.add_subplot(projection='3d') |
| 1343 | n = abs(xmin) + 1 |
| 1344 | xs = np.linspace(0, xmin, n) |
| 1345 | ys = np.ones(n) |
| 1346 | zs = np.zeros(n) |
| 1347 | ax.plot(xs, ys, zs, 'k') |
| 1348 | |
| 1349 | ax.set(xlim=(-5, 5), ylim=(-5, 5), zlim=(-5, 5)) |
| 1350 | ax.view_init(5, 180, 0) |
| 1351 | |
| 1352 | |
| 1353 | def test_axes3d_focal_length_checks(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…