Closed willigott closed 5 years ago
try turning off absolute value:
b = Builder(
map_json=json_repr,
reaction_data=reaction_data,
reaction_scale=rea_scale,
reaction_styles=['color', 'style'], # no 'abs'
)
Described here: https://escher.readthedocs.io/en/latest/javascript_api.html#escher.Builder.options.reaction_styles
It's also in the settings menu under the bar.
Thanks a lot; that indeed did the trick!
Let's say I want to visualize flux values with only two colors, e.g. positive fluxes and negative fluxes (all the same value, e.g.
10
and-10
, respectively). How would I do this?I tried:
However, I still then get only one color:
Also the color scale looks strange to me as the minimal value is set to
8
and not-10
, the max value is12
and not10
, but on the map itself it is displayed correctly.Am I using it correctly? Is there a way to accomplish this programmatically?