fig, ax= pyplot.subplots(1,1)
ax_img=ax.imshow(array) # returns AxesImage object and displays image.
The above code can return an AxesImage object but also displays the image.
I want to skip the display altogether and simply generate the AxesImage object using the array without displaying anything.