Volume.prop#
Examples#
Download Python source code | Download Jupyter notebook
Create an volume and get its properties.
>>> import pyvista as pv
>>> vol = pv.ImageData(dimensions=(10, 10, 10))
>>> vol['scalars'] = 255 - vol.z * 25
>>> pl = pv.Plotter()
>>> actor = pl.add_volume(vol)
>>> actor.prop.GetShade()
0
Used In#
Docstring Examples
Volume.copy(2 uses)Plotter.add_volume(1 use)VolumeProperty.interpolation_type(1 use)download_coil_magnetic_field(1 use)
Gallery Examples