I was trying to run the following code at the moment:
imgplot = plt.imshow(dose_data, extent = [0,4,0,6], aspect = 'auto')
On the console, I typed the following input:
In[38]:imgplot
Out[38]: <matplotlib.image.AxesImage at 0x123ebd198>
And the output made me wonder what the object is. After consulting the documentation, it seems like an AxesImage object (AxesImage Documentation). However I was wondering how to use the object stored in imgplot. At the moment I can neither see what it is, nor save it to an image.
P.S. I know how to show an image and how to save an image. I was just wondering how this object could be useful and what it actually is (like, is it an image object? an array? or some other weird type of object?)