matplotlib.pyplot.sci(im)[source]
This image will be the target of colormap functions like viridis, and other functions such as clim. The current image is an attribute of the current axes.