# Examples from pyvista.Plotter.meshes
# ====================================

# 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]

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