branca icon indicating copy to clipboard operation
branca copied to clipboard

This library is a spinoff from folium, that would host the non-map-specific features.

Results 14 branca issues
Sort by recently updated
recently updated
newest added

I have an existing set of code that adds a StepColormap to a Folium map. Here's what the current version of the map looks like: ![image](https://github.com/user-attachments/assets/44de64fb-e285-488e-bb05-8c747dad8855) However, I would now...

I may be wrong, but I find it weird the way `branca.utilities.write_png` function normalize its values. See https://github.com/python-visualization/branca/blob/v0.8.1/branca/utilities.py#L324. ```python >>> import io >>> >>> import numpy as np >>> import...

Addresses https://github.com/python-visualization/branca/issues/174. Our tests are very slow because of the `linear_gradient` function. Speed it up without incorporating a new dependency like Numpy. How do we know this new implementation is...

Closes #190. Fix the issue: color components that are byte values between 0 and 255 should be converted to normalized floats between 0 and 1. I noticed our code here...