-
Notifications
You must be signed in to change notification settings - Fork 14
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
Issue with set_zero_in_cmap_to_transparent Function Not Making Zero Values Transparent in Spatial Data Plotting #376
Comments
Hi ! Do you have any update on this issue, or a workaround ? Thank you ! |
Hey @ConstensouxAlexis, the picture looks correct though, no? Given that your plot background is white, they should show up as white. Or what was the result you expected? |
@timtreis Hi, I expected the background to be transparent so that the underlying HE image would show through, as demonstrated in the tutorial. However, the background is currently solid white. |
Hi @ConstensouxAlexis @lisch7, I was running into the same issue as you with the white background. I managed to solve it. I think the Hope this helps! |
I would also try passing |
@lisch7, does @degrainger s comment solve your question? |
No. Finally I draw the picture with the white background, not the transparent background. |
Issue Description
I am experiencing an issue with the
set_zero_in_cmap_to_transparent
function. According to the documentation, using this function should set the positions in the data with a value of 0 to be transparent. However, I found that instead of becoming transparent, these positions turn white after executing the function.Code
Output without
set_zero_in_cmap_to_transparent
functions:Output with
set_zero_in_cmap_to_transparent
functions:Environment Information
Thank you for your help!
The text was updated successfully, but these errors were encountered: