# Examples from pyvista.UnstructuredGrid.polyhedron_face_location_offsets
# =======================================================================

import pyvista as pv
from pyvista import examples
grid = examples.cells.Polyhedron()
grid.polyhedron_face_location_offsets

# There is one entry per cell regardless of whether the cell is a polyhedron.
len(grid.polyhedron_face_location_offsets) - 1 == grid.n_cells

# ----------------------------------------------------------------------
# Generated by sphinx-examples-as-code https://github.com/pyvista/sphinx-examples-as-code
