Well yes, if you are using the dcc.Graph all you have to do is click the name of the data you do not want to appear on the Legend, It will remove it from the set. The other way is to create a dropdown menu with a call back that will automatically update the plot when you remove the line in the selected stocks. Set the drop down to multi select, in fact look at Plotting multiple time series on one plot , and see how I did it