pyvista.themes._SilhouetteConfig

class _SilhouetteConfig

PyVista silhouette configuration.

Examples

Set global silhouette parameters.

>>> import pyvista
>>> pyvista.global_theme.silhouette.color = 'grey'
>>> pyvista.global_theme.silhouette.line_width = 2
>>> pyvista.global_theme.silhouette.feature_angle = 20

Methods

_SilhouetteConfig.from_dict(dict_)

Create from a dictionary.

_SilhouetteConfig.to_dict()

Return theme config parameters as a dictionary.

Attributes

_SilhouetteConfig.color

Return or set the silhouette color.

_SilhouetteConfig.decimate

Return or set the amount to decimate the silhouette.

_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.