LookupTable.log_scale#
- property LookupTable.log_scale: bool[source]#
Use log scale.
When
Truethe lookup table is a log scale toLookupTable.scalar_range. Otherwise, it is linear scale.
Examples#
Download Python source code | Download Jupyter notebook
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()