background

property DefaultTheme.background

Return or set the default background color of pyvista plots.

Examples

Set the default global background of all plots to white.

>>> import pyvista
>>> pyvista.global_theme.background = 'white'