Turns on or off the selected state of a plot in the control panel.
Parameters
val — bool, required
True
to select the plot,False
to deselect the plot.updateGUI — bool, optional
Whether to send the change in state to the GUI. Calls to this function from user code should not use this parameter lest the GUI state fail to match the plot state;
False
is only used to receive values from the GUI.Default value: True
Notes and Examples