Is there an equivalent to the matplotlib imshow () function for 3D drawing data stored in a 3D numpy array?
This is poorly defined, since you will see material that was not on the surface of the cube?
The Mayavi documentation has various approaches to how to accomplish what you want to do, including a cut plane and voxel-specific alpha channels. See visualization of bulk scalar data .
Suffice it to say that Mayavi is required for this and goes beyond the capabilities of matplotlib (convenient, but limited) 3D.
matplotlib cannot display a three-dimensional image. you can use mayavi .
Perhaps you can use mplot3d to build 3D objects. Here is one example code.
What you want is a kind of three-dimensional image (block). Perhaps you could draw it into pieces (using imshow () or whatever tool you want).
Maybe you could tell us which plot you want?