Order histogram plotly express legend alphabetically or according to the value presented in the y-axis

56 Views Asked by At

I have a question about the legend of a histogram made through plotly express.

Is there a way to sort alphabetically or according to the value presented in the y-axis the data that appears in the legend?

Thank you so much.

I have read documentation and some similar questions in other forums, but I can't find an optimal solution.

0

There are 0 best solutions below