StructuredGrid.hide_cells#
- StructuredGrid.hide_cells(
- ind: VectorLike[int] | VectorLike[bool],
- *,
- inplace: bool = False,
Hide cells without deleting them.
Hides cells by setting the
ghost_cellsarray toHIDDENCELL.- Parameters:
- Returns:
pyvista.StructuredGridStructured grid with hidden cells.
Examples#
Download Python source code | Download Jupyter notebook
Hide part of the middle of a structured surface.