Odd Sunburst elements order behavior with Plotly Express

Dear Plotly community,

While developing one my app I have encountered some odd behavior using the sunburst with Plotly express. This behavior happens when there is a label beginning with a capital letter in a sample dataframe. As two pictures are worth a thousand words :

"Normal" behavior :


"Abnormal" behavior :

Am I missing something right here ? Thanks for your help !

Cheers :slightly_smiling_face:

1 Like