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

Legend click function

Hello,

I want to find the code of function (plotly_legendclick), which hide the line on the plot and use it with my custom html button. I look through the docs, but can’t find it. Can anyone give me link on code of function plotly_legendclick? Or just post it here?