Plotter.meshes#
- property Plotter.meshes: list[DataSet | MultiBlock[Any]][source]#
Return plotter meshes.
- Returns:
list[DataSet|MultiBlock]List of mesh objects such as
pyvista.PolyData,pyvista.UnstructuredGrid, etc.
Examples#
Download Python source code | Download Jupyter notebook
Add two meshes and inspect their point counts.
>>> import pyvista as pv
>>> pl = pv.Plotter()
>>> _ = pl.add_mesh(pv.Cube())
>>> _ = pl.add_mesh(pv.Line())
>>> [mesh.n_points for mesh in pl.meshes]
[8, 2]
Used In#
API Examples
download_doorman(1 use)