Skip to content

Adding midpoint coloring #554

Description

@mortonjt

It would be great if there was support for diverging colormaps (vmin, vcenter and vmax) as done in matplotlib's TwoSlopeNorm. I think this use-case will become increasing common for publishing Empress figures in high impact venues that require fine-tuning of color legends.

To see what I mean, consider the following - I have two different differential abundance profiles that I want to compare, but because of the inability to put them on a common scale, the colors don't align (they are centered at -0.36 and -1.78 respectively when they should both be centered at zero). In my particular case, this is actually a blocking issue.

image

Also note that this has been raised in emperor before.

biocore/emperor#708

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions