pyvista.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_color
andLookupTable.above_range_color
.Examples
>>> import pyvista as pv >>> lut = pv.LookupTable() >>> lut.scalar_range = (0, 10) >>> lut.scalar_range (0.0, 10.0)