I want to modify the following code so that the image is sufficiently magnified to see individual pixels (python 3x).
import numpy as np
from PIL import Image
from IPython.display import display
width = int(input('Enter width: '))
height = int(input('Enter height: '))
iMat = np.random.rand(width*height).reshape((width,height))
im=Image.fromarray(iMat, mode='L')
display(im)


