Plotly subplots with individual legends

I believe I have the same issue already reported in this thread, if so, this is just a +1.

  1. I have a subplot with 2 rows and 1 column
  2. Both plots share x axes, so I can zoom in and out both at the same time
  3. Some legends are grouped, other are single legends
  4. There are no shared legends between subplots, all legends belong either to row 1 or 2
  5. I need the ability to toggle visibility of each data + legend individually

Is there a way to display the legend next to each row?

In the example below, orange marked legends belong to the bottom plot.

The way it is presented is counterintuitive :frowning:

1 Like