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 previous `*255*10` factor was necessary when using the old _png
module to read images, which read them as 0-1 floats, the 255 factor
was needed prior to conversion to uint8. Now we use pillow everywhere
in matplotlib.testing.compare and work with uint8 throughout, so the
extra 255 is incorrect (it basically caused any slight difference to
be fully saturated).
- We don't use _png to write the diffs anymore, and pillow handles RGB
just fine, so we don't need to add an alpha channel if it's not there.
0 commit comments