# Examples from pyvista.Property.ambient_color
# ============================================

# Get the default ambient color and visualize it with `ambient = 0.5`.
import pyvista as pv
prop = pv.Property()
prop.ambient_color

prop.ambient = 0.5
prop.plot()

# Visualize red ambient color.
prop.ambient_color = 'red'
prop.plot()

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

