This is a line from my code:
plt.imshow(Equalized, cmap=plt.get_cmap('gray'), vmin = 0.55, vmax = 0.80)
Here, Equalized is a 2-D image. The image displayed by this is the following:
fig(i)
Now, I wish to save the exact output image (without axes, borders, etc.) -

fig(ii)
as a numpy array for further manipulations. How can I do that? If there is no way to do that, then in that case, kindly help me by telling me how can I replicate the effects of cmap, vmin, vmax inside imshow() to generate the exact replica of the output.
Edit: On incorporating the answer of Lucas M. Uriarte as given below, I am able to save it as a numpy array in a variable, but on displaying it I get the following image:
This image is the same as the Equalized image in the beginning.
Can I get fig(ii) as a numpy array in any way?

