K3D lets you create 3D plots backed by WebGL with high-level API (surfaces, isosurfaces, voxels, mesh, cloud points, vtk objects, volume renderer, colormaps, etc). The primary aim of K3D-jupyter is to be easy for use as stand alone package like matplotlib, but also to allow interoperation with existing libraries as VTK.
I'm trying to visualize some voxels, but neither
k3d.voxels
nork3d.sparse_voxels
seem to work correctly.When using
k3d.voxels
on a dense grid, the orientation is wrong, and the plot is mirrored.When using
k3d.sparse_voxels
, the orientation is correct but the plot is repeated for some reason.Here's the data: voxel_data.zip
Any idea what is going on???