n_faces

property PolyData.n_faces

Return the number of cells.

Alias for n_cells.

Examples

>>> import pyvista
>>> plane = pyvista.Plane(i_resolution=2, j_resolution=2)
>>> plane.n_faces
4