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
The result looks like the original image when you render channel 0 without any norm, except for the colorbar:
This is because imshow() gets the already normalized data, but doesn't know that - so it autoranges to show everything on the colormap.
When passing the Normalize object directly to the norm argument of imshow, we get the desired behavior: