Back to 3D Visualization (VTK)
vtk.colormap
Set VTK colormap
Syntax
vtk.colormap('name')Description
Sets the colormap for subsequent VTK visualizations. Available colormaps: 'viridis', 'rainbow', 'coolwarm', 'grayscale', 'jet', 'hot'.
Parameters
| Name | Description |
|---|---|
| name | Colormap name |
Returns
null