Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Extend Palette trait
I've been recently using plotters to do some scatters plots of point sequences. Its great, I love the gif backend. amazing crate.
As I wanted to colors my plots, I've been exploring the
Palettetrait.I quickly wished for the following features:
Following link has great examples of high quality palettes that could be used: https://bids.github.io/colormap/
I'm not sure what would be the best way to implemented those features.. The
Palettetrait could be extended with functions like thoseor perhaps a new struct could be implemented,
InterpolatedPaletteColor, and itstrait Colorimplementation would do the interpolation.