We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb16b8e commit 043e89cCopy full SHA for 043e89c
1 file changed
pyntcloud/plot/voxelgrid.py
@@ -234,13 +234,10 @@ def plot_voxelgrid(voxelgrid,
234
voxel_centers = (np.argwhere(feature_vector) * scaled_shape).astype(np.float32)
235
236
if backend == 'pythreejs':
237
- return plot_voxelgrid_with_pythreejs(voxel_centers,
238
- voxel_colors,
239
- **kwargs)
+ plot_voxelgrid_with_pythreejs(
+ voxel_centers, voxel_colors, **kwargs)
240
elif backend == 'threejs':
241
- return plot_voxelgrid_with_threejs(voxel_centers,
242
243
- scaled_shape,
244
+ plot_voxelgrid_with_threejs(
+ voxel_centers, voxel_colors, scaled_shape, **kwargs)
245
else:
246
raise NotImplementedError("{} backend is not supported".format(backend))
0 commit comments