tpvasconcelos / ridgeplot

Beautiful ridgeline plots in Python
https://ridgeplot.readthedocs.io/
MIT License
67 stars 6 forks source link

Implement `range_color` #276

Open tpvasconcelos opened 5 days ago

tpvasconcelos commented 5 days ago

Add support for range_color

For example, if a color range of [100, 200] is used with the ["blue", "green", "red"] color scale, then any instance with a color value of 100 or less will be blue, and 200 or more will be red. Anything in between will be interpolated as usual.

Ref: https://plotly.com/python/colorscales/#explicitly-setting-a-color-range

CaioSilvaUT commented 3 days ago

Hello, I'm a student from UTFPR in Brazil, and I'm taking a class where I need to contribute to open source issues. I would like to know if I can take on this issue to work on.

tpvasconcelos commented 2 days ago

@CaioSilvaUT boas! Sure, I'd be happy to guide you :)

Let me know if you need help getting started.

And please take a quick look at our contributing guide to ensure you get a working development environment from the start 🚀