matplotlib / 3.6 / _as_gen / matplotlib.pyplot.sci.html

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

Line Collection

Line Collection

Line Collection

© 2012–2023 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/3.6.0/api/_as_gen/matplotlib.pyplot.sci.html