pyvista.plotting.themes.Theme.background#

property Theme.background: Color[source]#

Return or set the default background color of pyvista plots.

Examples

Set the default global background of all plots to white.

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