✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🧬 Learn how to build RNA-Seq data apps with Python & Dash. Register for the May 20 Webinar!

Legend click events

Hi, I would like to know if there’s any way to disable legend click events on a pie chart in python.

@camila.cardoso

To disable legend click events you should set:

legend_itemclick=False # for a single click

and

legend_itemdoubleclick=False #for double click

1 Like

Hi @empet, where should I specify this?

@empet I just figured out where to use it… Thanks a lot!!!

1 Like