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
112 stars 64 forks source link

Fix #35 #43

Closed ocefpaf closed 6 years ago

ocefpaf commented 6 years ago

Fixed a few lints which polluted this PR a little bit.

@nanodan can you take a quick look?

We also need to re-write the docstrings b/c right now they give the user the impression that s single color, like branca.colormap.LinearColormap(['#ffff00']), would work but it is not the correct API, LinearColormap needs at least two colors.