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
{{ message }}
Repository navigation
[Bug]: pcolormesh with log norm on data with zeros is broken, unless colorbar is added #32599
Activity
nj-vs-vh commentedon Nov 14, 2026
I didn't find this issue reported but it seems plausibly related to #8540
nj-vs-vh commentedon Nov 14, 2026
UPD: when the array has >1 non-zero unique value, everything is consistent
rcomer commentedon Nov 14, 2026
Thanks for the report. It seems that colorbar somehow modifies the vmin and vmax of the norm, which I assume is deliberate. We have
Without colorbar:
With colorbar:
I think the output masks should match for these two cases, even if the norms' vmin and vmax remain different.