I'd like to know how to plot many cubes with Python. For each cube I have its coordinates (Xmin, Xmax, Ymin, Ymax, Zmin, Zmax) and its value to draw the cube according this value. In fact what I really want to draw voxels.
I've seen some libraries like matplotlib, mayavi, OpenGL, but I don't know which of these libraries to use and how. I think it's not difficult because a cube is an easy regular figure, but I can't reach the solution.
As I have to plot many cubes, it would be good to set the extent, not to represent all the cubes, and I know that mayavi has this option.