Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Faceted heatmap's should share single colorbar #1

Closed

Description

@jonmmease

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.

Activity

  1. nicolaskruchten commented on Jan 3, 2019

    @nicolaskruchten
    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.

  2. nicolaskruchten commented on Apr 6, 2020

    @nicolaskruchten
    Contributor

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions