I’m trying to use:
displayNode.SetAndObserveColorNodeID(f'vtkMRMLColorTableNode{colorName}')
which works for some of the lookup table colors, but it does not work for Inferno. How can I make this work, i.e. setting the color for the display node to Inferno? I’m new to Slicer module development so any guidance would be appreciated!
You can see the color node IDs in Data module in the last tab. Enable display of hidden nodes and node IDs.
Or you can run this in the Python console:
print(getNode('*Inferno*').GetID())
Thank you, this really helped!