-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sunburst errors with "Non-leaves are not permitted in the dataframe" #4774
Comments
@archmoj does this belong here or in plotly.js? |
@LiamConnors would you please create a codepen and transfer it to plotly.js? |
I think the dubious check in on the Python side, |
The logic is in plotly.express and prevents the figure from being generated so it's not possible to create a codepen for plotly.js |
The logic to check for non-leaves is dubious, e.g. a leaf whose name is a suffix of another leaf triggers an error.
The check also depends on the alphabetical ordering on the leaves.
As suggested by #3589, I wonder whether this non-leaf detection is really meaningful.
I'd be happy to write a PR to remove this check. Thoughts?
minimal working example
The text was updated successfully, but these errors were encountered: