pyvista.plotting.themes._LightingConfig.specular#

property _LightingConfig.specular: float[source]#

Return or set the specular value.

Specular lighting simulates the bright spot of a light that appears on shiny objects. Must be between 0 and 1.

Examples

Set the global specular value to 0.1.

>>> import pyvista as pv
>>> pv.global_theme.lighting_params.specular = 0.1
>>> pv.global_theme.lighting_params.specular
0.1