alan-turing-institute / distinctipy

A lightweight package for generating visually distinct colours.
https://distinctipy.readthedocs.io/en/latest/
MIT License
237 stars 13 forks source link

Color class #26

Open Erol444 opened 2 years ago

Erol444 commented 2 years ago

Initial PR of the Color class

jack89roberts commented 2 years ago

Great, thanks. Would you be able to add docstrings (in Sphinx format, e.g. see the get_colors docstring: https://github.com/alan-turing-institute/distinctipy/blob/204798d841e9ee4cbabc50aa9f394bc6f69678de/distinctipy/distinctipy.py#L238-L286)

jack89roberts commented 2 years ago

Could you also run isort on this when it's ready @Erol444 (and black and flake8)? It's causing the checks to fail at the moment.