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()
https://d33wubrfki0l68.cloudfront.net/0adcb2f5a7803d88cb3f483a2eed9d7a7e5e7fd8/323ea/_images/pyvista-lookuptable-log_scale-1_00_00.png