InsightSoftwareConsortium / InsightSoftwareConsortium/itkwidgets

VtkUnstructuredGrid() is not displaying in Jupyter notebook

Open
#432 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
624
Forks
83
PR merge metrics
No merged PRs in 30d

Description

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:

```python
# 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](https://github.com/InsightSoftwareConsortium/itkwidgets/files/7255485/HK.zip)

Any insight that you have would be helpful. Thank you!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.