LookupTable.nan_color#
- property LookupTable.nan_color: Color | None[source]#
Return or set the not a number (NAN) color.
Any values that are NANs will be rendered with this color.
Examples#
Download Python source code | Download Jupyter notebook
Set the NAN color to 'grey'.
>>> import pyvista as pv
>>> lut = pv.LookupTable()
>>> lut.nan_color = 'grey'
>>> lut.plot()