human
Displaying a grayscale Image
assistant
Here is some code to display a grayscale image from array of pixels `imageArray`

imshow(imageArray, cmap='Greys_r')

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.