pyvista.plotting.volume_property.VolumeProperty.reapply_lookup_table

pyvista.plotting.volume_property.VolumeProperty.reapply_lookup_table#

VolumeProperty.reapply_lookup_table()[source]#

Reapply the lookup table previously applied.

The VolumeProperty is unable to keep a dynamic link to the colors and mapping laid out in the lookup table. This method allows you to reapply the lookup table to the VolumeProperty. This is useful if you modify the lookup table after it is applied to the VolumeProperty.

We have our own modified event observer to reapply this automatically when the lookup table is modified.