pyvista.LookupTable.log_scale#

property LookupTable.log_scale: bool[source]#

Use log scale.

When True the lookup table is a log scale to LookupTable.scalar_range. Otherwise, it is linear scale.

Examples

Use log scale for the lookup table.

>>> import pyvista as pv
>>> lut = pv.LookupTable()
>>> lut.log_scale = True
>>> lut.scalar_range = (1, 100)
>>> lut.plot()
../../../_images/pyvista-LookupTable-log_scale-1_00_00.png