NaN-values in raster vs. contour plots #1986
Answered
by
Fil
Hvass-Labs
asked this question in
Q&A
-
This Notebook shows that NaN-values are transparent in raster-plots but color-filled in contour-plots. Is it possible to also make them transparent in contour-plots? The reason is that I would like to color the background green/red for pos/neg values, as we've discussed in another post here. Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
Fil
Feb 10, 2024
Replies: 1 comment 3 replies
-
Since https://github.com/d3/d3-contour/releases/tag/v4.0.1 contours will go around -Infinity (but not NaN). |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
Hvass-Labs
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Since https://github.com/d3/d3-contour/releases/tag/v4.0.1 contours will go around -Infinity (but not NaN).