How to show a fiducial in only specified views?

I have a vtkMRMLMarkupsFiducialNode and want to show it only a few views, e.g. Red+, Green+ and Yellow+.

How can I do that?

First get the slice nodes of all the views and then set the view node IDs of the display node of the vtkMRMLMarkupsFiducialNode

sliceNodeRed_plus ="Red+").mrmlSliceNode()
sliceNodeGreen_plus ="Green+").mrmlSliceNode()
sliceNodeYellow_plus ="Yellow+").mrmlSliceNode()

my_fiducial_node.GetDisplayNode().SetViewNodeIDs([sliceNodeRed_plus.GetID(), sliceNodeGreen_plus.GetID(), sliceNodeYellow_plus.GetID()])