plotly.py icon indicating copy to clipboard operation
plotly.py copied to clipboard

Feature request: multiindex heatmap

Open noob-procrastinator opened this issue 4 years ago • 2 comments

I would like the possibility of generating a multiindex heatmap with multiple levels : image

The input should be either a mutliindex dataframe, or a single index dataframe. Ex: px.imshow(multiindexdf, x_levels=["Country"], y_levels=["Occupation",Sex"], z="Z")

Currently I am using a dash datatable placed close to a subplot of heatmaps to fake it.

noob-procrastinator avatar Mar 11 '21 18:03 noob-procrastinator

Would be nice if this would be implemented. Posted a StackOverflow post a couple of days ago which points to the same problem.

JohannesWiesner avatar Apr 20 '22 13:04 JohannesWiesner

Pandas' Styler feature may be of interest to you as a workable alternative in some circumstances. See here and here.

mmore500 avatar Mar 31 '24 22:03 mmore500

Hi - we are tidying up 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. If you'd like to submit a PR, we'd be happy to prioritize a review, and if it's a request for tech support, please post in our community forum. Thank you - @gvwilson

gvwilson avatar Jul 11 '24 13:07 gvwilson