LookupTable.to_color_tf#
- LookupTable.to_color_tf() vtkColorTransferFunction[source]#
Return the VTK color transfer function of this table.
- Returns:
- vtkColorTransferFunction
VTK color transfer function.
Examples#
Download Python source code | Download Jupyter notebook
>>> import pyvista as pv
>>> lut = pv.LookupTable()
>>> tf = lut.to_color_tf()
>>> tf
<vtkmodules.vtkRenderingCore.vtkColorTransferFunction(...) at ...>