# Examples from pyvista.Property.index_of_refraction
# ==================================================

# Get the default index of refraction.
import pyvista as pv
prop = pv.Property()
prop.index_of_refraction

# Set the index of refraction.
prop.index_of_refraction = 2.0
prop.index_of_refraction

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