import numpy
import PIL
import matplotlib.pyplot as plt
bug = PIL.Image.open('stinkbug.png')
arr = numpy.array(bug.getdata(), numpy.uint8).reshape(bug.size[1], bug.size
    [0], 3)
plt.gray()
plt.imshow(arr)
plt.colorbar()
plt.show()

8393072af7fbb079582cabc88737e65f7c75ec93
<mask token>

<mask token>
plt.gray()
plt.imshow(arr)
plt.colorbar()
plt.show()

<mask token>
bug = PIL.Image.open('stinkbug.png')
arr = numpy.array(bug.getdata(), numpy.uint8).reshape(bug.size[1], bug.size
    [0], 3)
plt.gray()
plt.imshow(arr)
plt.colorbar()
plt.show()

import numpy
import PIL
import matplotlib.pyplot as plt
bug = PIL.Image.open('stinkbug.png')
arr = numpy.array(bug.getdata(), numpy.uint8).reshape(bug.size[1], bug.size
    [0], 3)
plt.gray()
plt.imshow(arr)
plt.colorbar()
plt.show()
