Matplotlib save image as pdf

matplotlib. org / stable / API / _as_gen / matplotlib.pyplot.imshow.html. In the following line code, it is assigned to the V variable the image file and change all the aforementioned properties.f = ax.imshow (PIC [::, 1], alpha = 0.5, cmap = 'gray', vmin = 0, Vmax = 500, aspect = 'car') It is also possible to add a color bar next to the image by applying the ................
................