itkwidgets
itkwidgets copied to clipboard
VtkUnstructuredGrid() is not displaying in Jupyter notebook
My Unstructured Grid is not displaying any cell geometries in the itk-vtk-viewer window in jupyter notebook. The vtk file however displays perfectly fine using other software, such as ParaView. Python code:
# Load vtkUnstructuredGrid containing hydraulic conductivity data
reader = vtk.vtkUnstructuredGridReader()
reader.SetFileName("HK.vtk")
reader.Update()
grid = reader.GetOutput()
view(geometries=grid)
Environment Python 3.7.4, Jupyter-notebook 6.0.1 itkwidgets 0.32.1
VTK File HK.zip
Any insight that you have would be helpful. Thank you!
Hi @jlarsen-usgs thank you for the nice report! I was able to reproduce locally. There is a JavaScript initialization issue. We will address in 0.33a1
.
@thewtex
Thank you for the prompt response!
@thewtex
Has this issue been solved yet? We'd still like to integrate this tool into FloPy's VTK notebooks.