DataSet.is_empty#
Examples#
Download Python source code | Download Jupyter notebook
>>> import pyvista as pv
>>> mesh = pv.PolyData()
>>> mesh.is_empty
True
>>> mesh = pv.Sphere()
>>> mesh.is_empty
False
Download Python source code | Download Jupyter notebook
>>> import pyvista as pv
>>> mesh = pv.PolyData()
>>> mesh.is_empty
True
>>> mesh = pv.Sphere()
>>> mesh.is_empty
False