| 1 | initial version |
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.
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.