(self)
| 1449 | class TestVoxels: |
| 1450 | @mpl3d_image_comparison(['voxels-simple.png'], style='mpl20') |
| 1451 | def test_simple(self): |
| 1452 | fig, ax = plt.subplots(subplot_kw={"projection": "3d"}) |
| 1453 | |
| 1454 | x, y, z = np.indices((5, 4, 3)) |
| 1455 | voxels = (x == y) | (y == z) |
| 1456 | ax.voxels(voxels) |
| 1457 | |
| 1458 | @mpl3d_image_comparison(['voxels-edge-style.png'], style='mpl20') |
| 1459 | def test_edge_style(self): |