Generate an AxesImage from an array without displaying the image

181 views Asked by At
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.

0

There are 0 answers