grid = mlab.pipeline.scalar_field(data)
grid.spacing = [1.0, 1.0, 2.0]
contours = mlab.pipeline.contour_surface(grid, contours=[5, 15, 25],
    transparent=True)
mlab.show()
How to display a volume with non-cubic voxels correctly in mayavi