Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

Faceted heatmap's should share single colorbar #1

Closed
jonmmease opened this issue Jan 3, 2019 · 2 comments
Closed

Faceted heatmap's should share single colorbar #1

jonmmease opened this issue Jan 3, 2019 · 2 comments

Comments

@jonmmease
Copy link
Contributor

In this example...
screen shot 2019-01-03 at 8 15 05 am

each of the three heatmap traces is producing it's own colorbar with slightly different autorange extents, and they all overlap. I think instead we should only display a single colorbar, and we should manually compute the cmin cmax values across the full dataset so that the colors across the three facets are comparable.

@nicolaskruchten
Copy link
Contributor

I agree with you on what should happen, of course! Unfortunately I don't think this is something px can handle, at least not the computation of the bounds. We need some way of telling the JS layer that the color scale should be shared, so that it can handle the bounds computation itself, as it depends on the z parameter for each trace.

@nicolaskruchten
Copy link
Contributor

UPDATE: we did in fact implement both density heatmaps and matrix heatmaps in Plotly Express.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants