Skip to content

branchvalues='total' too strict #4405

Description

@nicolaskruchten

It seems to be a common problem when using sunburst and treemap from Python and R that the values sum up in the original language but not in JS after passing through JSON, with errors in the 1e-14 range, e.g. https://codepen.io/nicolaskruchten/pen/MWYYJba

How about we accept the data if the difference is, say, less than 0.01% of the parent?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugsomething broken

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions