Skip to content
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

Make it possible to use Choropleth layer with data containing NaNs. #972

Merged

Conversation

HaudinFlorence
Copy link
Contributor

@HaudinFlorence HaudinFlorence commented Apr 21, 2022

Make it possible to use Choropleth layer with data containing NaNs. The NaN regions have a dedicated color referred to as nan_color (black is set as default value) and a dedicated opacity referred to as nan_opacity (set to 0.4 as default value).

Resolve issue #428

Copy link
Member

@martinRenou martinRenou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

ipyleaflet/leaflet.py Outdated Show resolved Hide resolved
@HaudinFlorence HaudinFlorence force-pushed the allow_nans_with_Choropleth branch 3 times, most recently from e31f8cc to a9886b1 Compare April 22, 2022 11:51
…he NaN regions have a dedicated color referred to as nan_color (black is set as default value) and a dedicated opacity referred to as nan_opacity (set to 0.4 as default value).
@martinRenou
Copy link
Member

Thanks!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants