Image.fromarray silently fails with floating-point input · Issue #2856 · python-pillow/Pillow · GitHub
![Jake VanderPlas on Twitter: "Jupyter notebook tip: use PIL to view an array as an image in a very fast, lightweight way: https://t.co/Cl52d6xqv3" / Twitter Jake VanderPlas on Twitter: "Jupyter notebook tip: use PIL to view an array as an image in a very fast, lightweight way: https://t.co/Cl52d6xqv3" / Twitter](https://pbs.twimg.com/media/DQsmt33UMAAV2iJ.jpg)
Jake VanderPlas on Twitter: "Jupyter notebook tip: use PIL to view an array as an image in a very fast, lightweight way: https://t.co/Cl52d6xqv3" / Twitter
![Foldster on Twitter: "#genuary2021 Jan 5: Code Golf! Work a Day 12/365: Bitfield 1 Python Code: from PIL import Image import numpy as np r = range(512) x, y = np.meshgrid(r, r) Foldster on Twitter: "#genuary2021 Jan 5: Code Golf! Work a Day 12/365: Bitfield 1 Python Code: from PIL import Image import numpy as np r = range(512) x, y = np.meshgrid(r, r)](https://pbs.twimg.com/media/EtUP13AXcAUV6my.png)
Foldster on Twitter: "#genuary2021 Jan 5: Code Golf! Work a Day 12/365: Bitfield 1 Python Code: from PIL import Image import numpy as np r = range(512) x, y = np.meshgrid(r, r)
![python - Strange PIL.Image.fromarray behaviour with numpy zeros and ones in mode='1' - Stack Overflow python - Strange PIL.Image.fromarray behaviour with numpy zeros and ones in mode='1' - Stack Overflow](https://i.stack.imgur.com/RsWZ4.png)