pyvista.plotting.themes._SilhouetteConfig#

class _SilhouetteConfig[source]#

PyVista silhouette configuration.

Examples

Set global silhouette parameters.

>>> import pyvista as pv
>>> pv.global_theme.silhouette.enabled = True
>>> pv.global_theme.silhouette.color = 'grey'
>>> pv.global_theme.silhouette.line_width = 2
>>> pv.global_theme.silhouette.feature_angle = 20

Methods

Attributes

_SilhouetteConfig.color

Return or set the silhouette color.

_SilhouetteConfig.decimate

Return or set the amount to decimate the silhouette.

_SilhouetteConfig.enabled

Return or set whether silhouette is on or off.

_SilhouetteConfig.feature_angle

Return or set the silhouette feature angle.

_SilhouetteConfig.line_width

Return or set the silhouette line width.

_SilhouetteConfig.opacity

Return or set the silhouette opacity.