empress icon indicating copy to clipboard operation
empress copied to clipboard

set the min, middle, max value of the colorbar

Open maque4004 opened this issue 3 years ago • 2 comments

Hi empress developer,

Can I set the min and max value of the colorbar when I add a layer of boxplot? and how? For example, I'd like to set the max and min value of the colorbar to (2, -2) image

Thanks in advance!

Best, Jericho

maque4004 avatar Jun 30 '21 10:06 maque4004

Hello @maque4004, we are currently in the processes of adding this feature to empress. If you are interested, you can checkout our development branch (see #521). Additional, somewhat related, #484 will also add the ability to color the tree branches using a gradient color scheme.

kwcantrell avatar Jun 30 '21 21:06 kwcantrell

Thanks @kwcantrell Now I ran the codes as described in #521 git checkout -b kwcantrell-center-colormaps master git pull https://github.com/kwcantrell/empress.git center-colormaps pip install -e . qiime dev refresh-cache

So I can set the boundaries of the colorbar, but it raised an error below when I set the min value to a negative value. (If I set the min value >= 0, it can work) image

maque4004 avatar Jul 01 '21 02:07 maque4004