PartitionedDataSet#
- class PartitionedDataSet(*args, **kwargs)[source]#
Wrapper for the vtkPartitionedDataSet class.
DataSet which composite dataset to encapsulates a dataset consisting of partitions.
Examples#
Download Python source code | Download Jupyter notebook
>>> import pyvista as pv
>>> data = [
... pv.Sphere(center=(2, 0, 0)),
... pv.Cube(center=(0, 2, 0)),
... pv.Cone(),
... ]
>>> partitions = pv.PartitionedDataSet(data)
>>> len(partitions)
3
Methods#
|
Add a data set to the next partition index. |
|
Return a copy of the PartitionedDataSet. |
|
Copy pyvista meta data onto this object from another object. |
|
Get the non-NaN min and max of a named array. |
|
Insert data before index. |
|
Plot a PyVista, numpy, or vtk object. |
|
Pop off a partition at the specified index are not supported. |
Ensure that all nested data structures are wrapped as PyVista datasets. |
Attributes#
Return |
|
Return the number of partitions. |