python-visualization / branca

This library is a spinoff from folium, that would host the non-map-specific features.
https://python-visualization.github.io/branca/
MIT License
110 stars 63 forks source link

ColorMap text color #160

Closed ThomasBur closed 2 months ago

ThomasBur commented 3 months ago

Addresses #130 by adding a text_color optional parameter to the ColorMap class which changes the fill: attribute of the caption and tick text.

ThomasBur commented 3 months ago

Hi @Conengmo thank you for the feedback. I worked out that all the places I missed for passing and docstrings where were caption was also missed. Fixed it for both of those in al spots. I got render to work, and have also tested it with folium and geopandas. Happy to make any other changes as required :)

Conengmo commented 2 months ago

Thanks Thomas for working on this one, much appreciated