MC: docs and example fixes

This commit is contained in:
Almar Klein
2016-07-26 11:41:26 +02:00
parent 01a1e5e4b7
commit 6d0d655121
3 changed files with 23 additions and 20 deletions
+2 -2
View File
@@ -33,10 +33,10 @@ ellip_double = np.concatenate((ellip_base[:-1, ...],
ellip_base[2:, ...]), axis=0)
# Use marching cubes to obtain the surface mesh of these ellipsoids
verts, faces = measure.marching_cubes(ellip_double, 0)
verts, faces, normals, values = measure.marching_cubes(ellip_double, 0)
# Display resulting triangular mesh using Matplotlib. This can also be done
# with mayavi (see skimage.measure.marching_cubes docstring).
# with mayavi or visvis (see skimage.measure.marching_cubes docstring).
fig = plt.figure(figsize=(10, 12))
ax = fig.add_subplot(111, projection='3d')