Themes

Themes#

PyVista plotting parameters can be controlled on a plot by plot basis or through a global theme, making it possible to control mesh colors and styles through one global configuration.

The DocumentTheme is the default theme for PyVista. Theme provides a theme that is similar to the default styling of VTK.

See Control Global and Local Plotting Themes for an example on how to use themes within PyVista.

themes.DarkTheme()

Dark mode theme.

themes.Theme()

Base VTK theme.

themes.DocumentTheme()

A document theme well suited for papers and presentations.

themes.ParaViewTheme()

A paraview-like theme.

themes._AxesConfig()

PyVista axes configuration.

themes._CameraConfig()

PyVista camera configuration.

themes._ColorbarConfig()

PyVista colorbar configuration.

themes._DepthPeelingConfig()

PyVista depth peeling configuration.

themes._Font()

PyVista plotter font configuration.

themes._LightingConfig()

PyVista lighting configuration.

themes._SilhouetteConfig()

PyVista silhouette configuration.

themes._SliderConfig()

PyVista configuration encompassing all slider styles.

themes._SliderStyleConfig()

PyVista configuration for a single slider style.

themes._TrameConfig()

PyVista Trame configuration.