pyvista.CompositePolyDataMapper#
- class CompositePolyDataMapper(*args, **kwargs)[source]#
Composite PolyData mapper.
- Parameters:
- dataset
pyvista.MultiBlock
,optional
Multiblock dataset.
- theme
pyvista.plotting.themes.Theme
,optional
Plot-specific theme.
- color_missing_with_nanbool,
optional
Color any missing values with the
nan_color
. This is useful when not all blocks of the composite dataset have the specifiedscalars
.- interpolate_before_mapbool,
optional
Enabling makes for a smoother scalars display. Default is
True
. WhenFalse
, OpenGL will interpolate the mapped colors which can result is showing colors that are not present in the color map.
- dataset
Methods
Set the scalars of the mapper.
Set each block of the dataset to a unique color.
Attributes
Return the block attributes.
Color missing arrays with the NaN color.
Return the composite dataset assigned to this mapper.