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

[BUG] Colors in the legend not matching the figure #2367

Open
FlorianTrigodet opened this issue Nov 1, 2024 · 2 comments
Open

[BUG] Colors in the legend not matching the figure #2367

FlorianTrigodet opened this issue Nov 1, 2024 · 2 comments
Assignees

Comments

@FlorianTrigodet
Copy link
Contributor

Short description of the problem

The colors in the the legend panel are not matching the colors displayed in the interface.

anvi'o version

Anvi'o dev.

System info

MacOs

Detailed description of the issue

Here is a screenshot of an interactive interface when I open it:
image

Now if change all the colors (randomly), and redraw, then the colors of the legend match the interface:
image

Files / commands to reproduce the issue

This problem is not happening all the time (reproducible yes, but for some layers it works fine). If you run the metagenomics self test, you can see the problem. Here the taxonomy layer's colors are fine, the problem is in the layer additional data "visit" and "Bars"

image
@FlorianTrigodet
Copy link
Contributor Author

I forgot to mention that when you export the SVG, the legend contains the proper colors.

@metehaansever metehaansever self-assigned this Nov 4, 2024
@metehaansever
Copy link
Contributor

Thanks for catching @FlorianTrigodet. I'll look at it :)

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

No branches or pull requests

2 participants