Comments (4)
Hi @Erol444 , thanks for using distinctipy! I think I'd be happy for this to be added to distinctipy because I can see some of the benefits, but note that:
- I'd like distinctipy to have as few dependencies as possible (but extra dependencies for optional features is ok)
- I'd like any changes to be backwards compatible, as much as possible (if they're not we can discuss whether the change is worth a major version bump)
But PRs certainly welcome 🙂
from distinctipy.
Draft PR here: #25
Great, I'll take a look when I have some time (hopefully later this week)
Head up: for our project (depthai-sdk) we might fork this to remove dependencies to panda/matplotlib and create a separate library, as we don't require such features (only create unique colors).
@Erol444 The latest versions of distinctipy
only have numpy as a core dependency actually, the pandas/matplotlib/etc. dependencies are optional extras now, which you should only get if you do pip install 'distinctipy[optional]'
or pip install 'distinctipy[all]'
. If you're still getting them from pip install distinctipy
that's a bug.
from distinctipy.
Draft PR here: #25
Head up: for our project (depthai-sdk) we might fork this to remove dependencies to panda/matplotlib and create a separate library, as we don't require such features (only create unique colors).
from distinctipy.
I have now noticed I was on the old branch (develop) and that main has had a few updates. Now I see that matplotlib/pandas aren't dependencies anymore, which is perfect!
Here's the PR, you can link it to this feature request (github issue): #26
from distinctipy.
Related Issues (18)
- Update docs for new API
- Check and improve docstrings HOT 1
- Automate code quality checks
- Tighten up API
- Accompanying paper HOT 1
- Add algorithm description to docs
- Optimise assignment of colours
- Add pre-commit config
- Conda package?
- Improve tests and coverage
- Optionally always generate same color pallete HOT 2
- MANUALLY RE-ORDER COLORS FROM CREATED DISTINCT COLORS HOT 2
- Including test suite in pypi tarball HOT 1
- Improve colour distinction metric HOT 1
- Improve font colour selection HOT 1
- Add tests
- Generate documentation HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from distinctipy.