# Examples from pyvista.plotting.themes.Theme.transparent_background
# ==================================================================

# Set `transparent_background` globally to `True`.
import pyvista as pv
pv.global_theme.transparent_background = True

# Remove the background color from the edges of transparent screenshots.
pv.global_theme.transparent_background = 'straight'

# ----------------------------------------------------------------------
# Generated by sphinx-examples-as-code https://github.com/pyvista/sphinx-examples-as-code
