Skip to content

Commit 043e89c

Browse files
committed
Remove return None
1 parent bb16b8e commit 043e89c

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

pyntcloud/plot/voxelgrid.py

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -234,13 +234,10 @@ def plot_voxelgrid(voxelgrid,
234234
voxel_centers = (np.argwhere(feature_vector) * scaled_shape).astype(np.float32)
235235

236236
if backend == 'pythreejs':
237-
return plot_voxelgrid_with_pythreejs(voxel_centers,
238-
voxel_colors,
239-
**kwargs)
237+
plot_voxelgrid_with_pythreejs(
238+
voxel_centers, voxel_colors, **kwargs)
240239
elif backend == 'threejs':
241-
return plot_voxelgrid_with_threejs(voxel_centers,
242-
voxel_colors,
243-
scaled_shape,
244-
**kwargs)
240+
plot_voxelgrid_with_threejs(
241+
voxel_centers, voxel_colors, scaled_shape, **kwargs)
245242
else:
246243
raise NotImplementedError("{} backend is not supported".format(backend))

0 commit comments

Comments
 (0)