I’m trying to figure out if it’s possible to create a PlotLy Pie Chart in python with an on_click event in JupyterLab. I’ve been able to run the scatter plot example:
When I try to adapt this for a pie chart, though, the callback doesn’t look like it’s ever being called. I’m not sure if this is possible and there’s something missing in my adaptation, or if it’s a capability that’s only available for scatter and not for other kinds of plots.
Can anyone advise or provide feedback on this? Thanks!