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

Is there a way to get the 'legendgroup' functionality (toggle many curves simultaneously) across multiple subplots?

I’m looking to link legend entries for scatter plot traces across multiple subplots. Equivalent to the ‘legendgroup’ functionality within a single plot. Is there any way to achieve such functionality? I’m using the python API.

Sorry, the legendgroup works across subplots. I wasn’t using the correct syntax.

have you solved your problem?