You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a colormap control to be used with Choropleth layer (#1010)
* Add a colormap control to be used with Choropleth layer to display a colormap (the ColormapControl class has Widget Control as a parent and used an Input widget.)
* Remove the right padding on the colormap and set the background to transparent in the examples' notebook.
* Change colormap_choice into colormap in class ColormapControl and update the docstring of the class.
* Replace Any traitlet type by Instance for colormap in ColormapControl and modify the docstring for the default value.
* Change Instance of colormap from LinearColormap to Colormap. Change trailet type of colormap in Choropleth from Any to Colormap and add importation of Colormap from branca. Remove LinearColormap mistaken importation from Folium.
* Remove _default_colormap() and add a default value in the trailet definition. Remove unused importation in the example notebook and homogeneize the default colormap to linear.OrRd_06.
0 commit comments