Skip to content
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

Adding midpoint coloring #554

Open
mortonjt opened this issue Feb 2, 2022 · 1 comment
Open

Adding midpoint coloring #554

mortonjt opened this issue Feb 2, 2022 · 1 comment

Comments

@mortonjt
Copy link
Collaborator

mortonjt commented Feb 2, 2022

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

@mortonjt
Copy link
Collaborator Author

mortonjt commented Feb 2, 2022

zoops, just realized that this is partially implemented here : #484 #521

And has been mentioned in #365 #518 and #529
will follow up with midpoint coloring in a sec

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

No branches or pull requests

2 participants