First time here? Check out the FAQ!
answered 2 years ago
I figure out how to fix it, but I still don't understand why it happens in the first place:
Here is a fix: imshow(img/255.0, cmap='gray') which shows it in grayscale.