biosustain / shu

Multi-dimensional, trans-omics metabolic maps.
https://biosustain.github.io/shu
Apache License 2.0
41 stars 1 forks source link

Condition colors #26

Closed carrascomj closed 1 year ago

carrascomj commented 1 year ago

Raised by @NicholasCowie

Plotting different conditions with the same color for interactive exploration works. However, for static images shown in publications, having different colors is instrumental.

It is a problem of UX; shu needs to communicate options to manipulate the color for each condition in the GUI without cluttering the Settings menu with options. The first solution will be the most minimal in terms of UI: if the user has selected a condition, the color will only apply for that particular condition (idem with the magic "ALL" condition).

carrascomj commented 1 year ago

How does that transmit to the legend of histograms?

NicholasCowie commented 1 year ago

Should there be a condition legend?

carrascomj commented 1 year ago

image

carrascomj commented 1 year ago

Closed by 6ee7f1f74811abc352ef469d65aafe8eb26b583b

I could do fancy things with the legend (like laminating it) if that's desired but I guess that's not too important.