(fig_test, fig_ref)
| 2401 | |
| 2402 | @check_figures_equal() |
| 2403 | def test_pathpatch_3d(fig_test, fig_ref): |
| 2404 | ax = fig_ref.add_subplot(projection="3d") |
| 2405 | path = Path.unit_rectangle() |
| 2406 | patch = PathPatch(path) |
| 2407 | art3d.pathpatch_2d_to_3d(patch, z=(0, 0.5, 0.7, 1, 0), zdir='y') |
| 2408 | ax.add_artist(patch) |
| 2409 | |
| 2410 | ax = fig_test.add_subplot(projection="3d") |
| 2411 | pp3d = art3d.PathPatch3D(path, zs=(0, 0.5, 0.7, 1, 0), zdir='y') |
| 2412 | ax.add_artist(pp3d) |
| 2413 | |
| 2414 | |
| 2415 | @image_comparison(baseline_images=['scatter_spiral.png'], |
nothing calls this directly
no test coverage detected
searching dependent graphs…