How do I add a second legend to my plotly graph?

Hello, I am trying to figure out how to make a separate legend to show which symbols go to what superconductor type in Plotly express.


The legend on the right contains both the superconductor type, and the reference from which they originate. Is there a way to break those two up into separate legends?

For example I would like to have a legend below the title that says ( square= Ta, circle=Nb…) to better separate the data overlap in the current legend. and a legend on the right that depicts the information that it does currently.

Hi @dylanblevins49 !

Yes you can have more than one legend.

Take a look:

Or alternatively, you can create groups: