matplotlib.pyplot.sci#

matplotlib.pyplot.sci(im)[source]#

Set the current image.

This image will be the target of colormap functions like pyplot.viridis, and other functions such as clim. The current image is an attribute of the current Axes.

Examples using matplotlib.pyplot.sci#

Plotting multiple lines with a LineCollection

Plotting multiple lines with a LineCollection