Black Lives Matter. Please consider donating to Black Girls Code today.

Keep legend filter even after plotly.react calling

Hi everyone, I would like to keep filters from legend where I had clicked a legend and keep it even after plotly.react. I tried to get the legend clicked and trigger click/mousedown/mouseup event but didn’t work for me. So if anyone could help me with that

See for an example and rationale.

1 Like

Many thanks, it works !