pyvista.LookupTable.above_range_color

pyvista.LookupTable.above_range_color#

property LookupTable.above_range_color: Color | None[source]#

Return or set the above range color.

Any values above LookupTable.scalar_range will be rendered with this color.

Examples

Enable the usage of the above range color.

>>> import pyvista as pv
>>> lut = pv.LookupTable()
>>> lut.above_range_color = 'blue'
>>> lut.plot()
../../../_images/pyvista-LookupTable-above_range_color-1_00_00.png

Disable the usage of the above range color.

>>> import pyvista as pv
>>> lut = pv.LookupTable()
>>> lut.above_range_color = None
>>> lut.plot()
../../../_images/pyvista-LookupTable-above_range_color-1_01_00.png