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
Using imshow with LogNorm scaling and a large range results in pixelation and crashes. This is related to Issue #18415 but the fix that went in there doesn't seem to be general enough.
An additional manifestation of this bug that causes a crash is when the data contains a zero point, the vmin rescaling still results in a 0 value even when setting vmin:
Bug report
Bug summary
Using
imshow
withLogNorm
scaling and a large range results in pixelation and crashes. This is related to Issue #18415 but the fix that went in there doesn't seem to be general enough.Code for reproduction
Results in
Expected outcome
Outcome should be similar to the case with a slightly smaller data range:
An additional manifestation of this bug that causes a crash is when the data contains a zero point, the
vmin
rescaling still results in a 0 value even when settingvmin
:results in
Using a smaller range for
vmin
andvmax
avoids the error but results in a pixelated plot:Matplotlib version
matplotlib 3.4.1
The text was updated successfully, but these errors were encountered: