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

deterministic plotter colour #72

Merged

Conversation

jamesb93
Copy link
Member

@jamesb93 jamesb93 commented Nov 4, 2021

Currently when you run out of colours in a palette to assign to labels from a labelset it randomly generates more colours. If you want to sync two plotter to each other visually it is very hard with this current behaviour. This PR creates a bank of extra colours that can be deterministically drawn on when there are more classes or unique labels than there are colours.

@jamesb93 jamesb93 merged commit 4df3d00 into flucoma:main Nov 4, 2021
@jamesb93 jamesb93 deleted the enhance/deterministic-plotter-colour branch November 15, 2021 10:08
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

Successfully merging this pull request may close these issues.

1 participant