-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Display colorbar #14
Comments
Interesting. We could also use branca as in https://github.com/jupyter-widgets/ipyleaflet/blob/master/examples/Choropleth.ipynb. |
That could be, yes. We also need to have an equivalent matplotlib colormap in Python when we apply the colormap. I don't know if we can use branca for that too. |
Done in #33. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We need a way to display a colorbar. The colormap currently uses matplotlib, so the easiest way is to show the colorbar with matplotlib and show it outside the map. It should also be possible to show it inside the map.
Another way would be to use a custom legend control in Leaflet, but we need a way to match matplotlib's colormap. Or use Leaflet's colormap instead of matplotlib's.
The text was updated successfully, but these errors were encountered: