pyvista.LookupTable.to_color_tf#

LookupTable.to_color_tf() vtkColorTransferFunction[source]#

Return the VTK color transfer function of this table.

Returns:
vtk.vtkColorTransferFunction

VTK color transfer function.

Examples

>>> import pyvista as pv
>>> lut = pv.LookupTable()
>>> tf = lut.to_color_tf()
>>> tf
<vtkmodules.vtkRenderingCore.vtkColorTransferFunction(...) at ...>