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
Currently, the create_color_stops function accepts a string that defines a color palette from ColorBrewer. This function should also allow the user to pass a custom color palette as a list of color strings. The documentation claims this is possible today, but it is not yet implemented.
I like your implementation, thanks for the PR @ppessi! We'll use your suggested color checking method in the existing PR, it's cleaner and doesn't require another library dependency -> 993b719
Problem
Currently, the
create_color_stops
function accepts a string that defines a color palette from ColorBrewer. This function should also allow the user to pass a custom color palette as a list of color strings. The documentation claims this is possible today, but it is not yet implemented.Solution
Make a PR to add support for passing a custom list of colors to
create_color_stops
-> https://github.com/mapbox/mapboxgl-jupyter/blob/master/mapboxgl/utils.py#L109cc @pveugen
The text was updated successfully, but these errors were encountered: