LookupTable.scalar_range#
- property LookupTable.scalar_range: tuple[float, float][source]#
Return or set the table range.
This is the range of scalars which will be mapped to colors. Values outside of this range will be colored according to
LookupTable.below_range_colorandLookupTable.above_range_color.
Examples#
Download Python source code | Download Jupyter notebook
>>> import pyvista as pv
>>> lut = pv.LookupTable()
>>> lut.scalar_range = (0, 10)
>>> lut.scalar_range
(0.0, 10.0)