Note
Click to download the full example code
Demonstrates plotting 3D volumetric objects with .
x, y, z = np.indices[[8, 8, 8]] # draw cuboids in the top left and bottom right corners, and a link between # them cube1 = [x = 5] link = abs[x - y] + abs[y - z] + abs[z - x]