You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
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"
The text was updated successfully, but these errors were encountered:
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"
The text was updated successfully, but these errors were encountered: