Theme.background

Theme.background#

property Theme.background: Color[source]#

Return or set the default background color of pyvista plots.

Examples#

Download Python source code | Download Jupyter notebook

Set the default global background of all plots to white.

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