Skip to content

Treemap forced root node #5242

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

Closed
nicolaskruchten opened this issue Nov 3, 2020 · 3 comments
Closed

Treemap forced root node #5242

nicolaskruchten opened this issue Nov 3, 2020 · 3 comments

Comments

@nicolaskruchten
Copy link
Contributor

Semi-related to #5199 ... one difference between sunburst and treemap is that treemap always has a root node even if you don't want it. It would be nice for this to be optional.

@GeorgeFlorian
Copy link

Have there been any updates on this ?

I also don't need the root element in the treemap chart that I am using.
I have set hovertemplate: '%{label}<br />%{value}% <extra></extra>' and since the root doesn't have any labels or values I get warnings in the console

console.trace() WARN: Variable 'label' in hovertemplate could not be found!
console.trace() WARN: Variable 'value' in hovertemplate could not be found!
console.trace() WARN: Too many hovertemplate warnings - additional warnings will be suppressed

Also when I hover over the root element it shows the hovertemplate as %{label} %{value}% which is not wanted.

@johncalabrese
Copy link

I also have this problem. I guess its not something I did wrong!

@gvwilson
Copy link
Contributor

gvwilson commented Jul 8, 2024

Hi - we are trying to tidy up the stale issues and PRs in Plotly's public repositories so that we can focus on things that are still important to our community. Since this one has been sitting for a while, I'm going to close it; if it is still a concern, please add a comment letting us know what recent version of our software you've checked it with so that I can reopen it and add it to our backlog. Alternatively, if it's a request for tech support, please post in our community forum. Thank you - @gvwilson

@gvwilson gvwilson closed this as completed Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants