LookupTable.nan_opacity#
- property LookupTable.nan_opacity[source]#
Return or set the not a number (NAN) opacity.
Any values that are NANs will be rendered with this opacity.
Examples#
Download Python source code | Download Jupyter notebook
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()