# Examples from pyvista.LookupTable.nan_opacity
# =============================================

# Set the NAN opacity to `0.5`.
import pyvista as pv
lut = pv.LookupTable()
lut.nan_color = 'grey'
lut.nan_opacity = 0.5
lut.plot()

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

