How can I make plotly to highlight the line for the clicked legend and dim the rest? This is relevant but it focuses on diming the clicked.
library(plotly) data(i