Plotly subplots with individual legends


I would like to display multiple subplots in one plot. Since the number of lines drawn are many, I would like to display the legend per subplot. The legend is currently displayed for all subplots (making reading the charts very cumbersome).

Legends For subplots

Unfortunately, plotly can only support one legend per graph at the moment.

I’d recommend using annotations instead.


I have the same problem. Without the control on legends, large subplots become very complex to read, and the business users are confused with flying/ungrouped/wrongly-positioned legends :frowning: Control on legends will help in making the plots very intuitive and simple. Hope you will add this feature asap…

Here is my github issue for the same-


Is there any new update on this issue?.