emperor icon indicating copy to clipboard operation
emperor copied to clipboard

Robust coloring metrics

Open mortonjt opened this issue 5 years ago • 2 comments

It maybe super useful to enable quartiles / midpoint normalization to allow for better color discrimination. The seaborn.heatmap function has a robust keyword is a good reference for coloring via quartiles. And see here for midpoint normalization.

A real reason why this is useful is because a bad coloring scheme can hide real details. Below is an example where I have enabled continuous values

image

And below is where I disabled continuous values.

image

There are clear trends and more could be leveraged to properly evaluate the continuous value coloring scheme.

mortonjt avatar Jan 17 '19 19:01 mortonjt

@ElDeveloper would there be any interest in having this as a contribution? Right now, the continuous values option isn't being used very often because of the extreme outliers.

Furthermore, the midpoints are not being properly set, so colors are often skewed towards one end of the spectrum. Maybe having 3 text boxes for vmin, midpoint and vmax should do the trick. Thoughts?

mortonjt avatar Aug 06 '19 21:08 mortonjt

@mortonjt, yes this would be very handy to have in as a contribution! I like the idea of the three text boxes. These could show up in the UI once the continuous selection has been enabled. Also, handling outliers would be excellent! Let me know if you need some help with this.

ElDeveloper avatar Aug 07 '19 16:08 ElDeveloper