pyvista.plotting.mapper._BaseMapper.copy#

_BaseMapper.copy() _BaseMapper[source]#

Create a copy of this mapper.

Returns:
pyvista.DataSetMapper

A copy of this dataset mapper.

Examples

>>> import pyvista as pv
>>> mapper = pv.DataSetMapper(dataset=pv.Cube())
>>> mapper_copy = mapper.copy()