MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / test_simple

Method test_simple

lib/mpl_toolkits/mplot3d/tests/test_axes3d.py:1451–1456  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1449class 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):

Callers

nothing calls this directly

Calls 2

voxelsMethod · 0.80
subplotsMethod · 0.45

Tested by

no test coverage detected