-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
Hello, I ran the demo given in the documentation (plz see the enclosed code) but gave me the following error msg
ImportError: cannot import name 'viewer' from 'skimage' (D:\Miniconda3\envs\gnome\lib\site-packages\skimage_init_.py)
###################################################################################
"""3D surface plot example."""
import numpy as np
import matplotlib.cm
from Stoner import Data
x, y, z = np.meshgrid(
np.linspace(-2, 2, 21), np.linspace(-2, 2, 21), np.linspace(-2, 2, 21)
)
x = x.ravel()
y = y.ravel()
z = z.ravel()
u = np.sin(x * y * z)
p = Data(x, y, z, u, setas="xyzu", column_headers=["X", "Y", "Z"])
p.plot_voxels(cmap=matplotlib.cm.jet, visible=lambda x, y, z: x - y + z < 2.0)
p.title = "Voxel plot"
Metadata
Metadata
Assignees
Labels
No labels