branca
branca copied to clipboard
This library is a spinoff from folium, that would host the non-map-specific features.
G'day, looks like there's an issue with the version being generated by `setuptools` when installing from the git repository. It's creating versions starting with 0.1 instead of 0.7. This makes...
Addresses #130 by adding a `text_color` optional parameter to the `ColorMap` class which changes the `fill:` attribute of the caption and tick text.
- [x] Add type hints to all modules in Branca. - [x] Make sure Mypy passes. Contains some functional changes as well: - Alter `_parse_hex` to output RGBA floats directly....
This comes from https://github.com/geopandas/geopandas/issues/2897, since `geopandas.GeoDataFrame.explore()` uses `branca`: I wish I could plot a colormap also on tiles where dense forests have dark colors, but I can't read the colorbar's...
#### Code Sample ```python import folium import pandas as pd import folium.plugins import branca import branca.colormap as cm data = [ [33.823400, -118.12194, 99.23], [33.823500, -118.12294, 95.23], [33.823600, -118.12394, 91.23],...
**Describe the bug** A clear and concise description of what the bug is. **To Reproduce** I'm finding that, when using a set of custom bins within a colormap, the color...
I'm packaging your module as an rpm package so I'm using the typical PEP517 based build, install and test cycle used on building packages from non-root account. - `python3 -sBm...
Initial discussion present in: https://github.com/python-visualization/folium/issues/1907 The `Text` class will be used wherever plain strings are used (popup labels, tooltip text etc). Currently, the only feature is to enable escaping characters...
When I create a `LinearColormap` or a `StepColormap` with a list of tuples of ints as argument for the `colors` parameter, it is no longer converted to floats and leads...
I reported [Folium issue 1885](https://github.com/python-visualization/folium/issues/1885), which occurs because passing a single element to the add_child routine twice overwrites the first value of the parent variable inside the element object. @Conengmo...