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

use pydantic Color type #100

Merged
merged 2 commits into from
Aug 10, 2021
Merged

use pydantic Color type #100

merged 2 commits into from
Aug 10, 2021

Conversation

tlambert03
Copy link
Owner

This PR uses pydantic.color.Color for the internal representation of color. this type is much nicer than the integer used by OME... and has a number of conveniences:
https://pydantic-docs.helpmanual.io/usage/types/#color-type

@tlambert03 tlambert03 merged commit c5ff727 into master Aug 10, 2021
@tlambert03 tlambert03 deleted the color branch August 10, 2021 20:42
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