PartitionedDataSet.is_empty#
- property PartitionedDataSet.is_empty: bool[source]#
Return
Trueif there are no partitions.Added in version 0.46.
Examples#
Download Python source code | Download Jupyter notebook
>>> import pyvista as pv
>>> mesh = pv.PartitionedDataSet()
>>> mesh.is_empty
True
>>> mesh.append(pv.Sphere())
>>> mesh.is_empty
False