pyvista.plotting.themes.DarkTheme

Contents

pyvista.plotting.themes.DarkTheme#

class DarkTheme[source]#

Dark mode theme.

Black background, “viridis” colormap, tan meshes, white (hidden) edges.

Examples

Make the dark theme the global default.

>>> import pyvista as pv
>>> from pyvista import themes
>>> pv.set_plot_theme(themes.DarkTheme())

Alternatively, set via a string.

>>> pv.set_plot_theme('dark')

Methods

Attributes