Legend groupclick toggleitem doesn't seem to work

Hi there,

im using legend groups in a graph to organize my traces. What I would love to do is toggle the visibility of the entire group if I click on the group title and just a single trace if I click on a trace.

From what I could find out so far, only the second part is possible using

fig.update_layout(legend_groupclick= 'toggleitem')

Unfortunately, I seem to be doing something wrong here, as this has no effect. The property gets set in my graph, but when I click an item, the whole group still gets toggled.

Does anyone have an idea what Iโ€™m doing wrong?

Hi,

I am facing the same issue, did you resolved it?

In case yes, share the solution please :slight_smile:

Hi there,

unfortunately I couldnโ€™t resolve it - I still have this issue. Sorry, I canโ€™t help.