hatemhosny / racing-bars

Bar chart race made easy 🎉
https://racing-bars.hatemhosny.dev/
MIT License
75 stars 4 forks source link

provide a set of color palettes #198

Open hatemhosny opened 2 months ago

hatemhosny commented 2 months ago

I'm submitting a ...

Summary

Currently, the colorMap option, allows providing custom color palettes.

It would be nice if the library provides a built-in set of color palettes that can be easily used out-of-the-box.

Seaborn color palettes can be a good start.

ShubhamShakyawal commented 1 month ago

I'm interested in this task

hatemhosny commented 1 month ago

I'm interested in this task

Please go ahead. Thank you :)

hatemhosny commented 1 month ago

@ShubhamShakyawal

This can be of help: https://github.com/mwaskom/seaborn/blob/master/seaborn/palettes.py

ShubhamShakyawal commented 1 month ago

@hatemhosny,

Thank you for your help.

I have created a pull request (PR) https://github.com/hatemhosny/racing-bars/pull/206 for this issue. Please review it. If there are any changes that need to be made, feel free to notify me, and I will make the suggested changes.

If you find it to be correct, I can also add this to the documentation.