On this page
matplotlib.pyplot.gci
matplotlib.pyplot.gci()[source]-
Get the current colorable artist. Specifically, returns the current
ScalarMappableinstance (image or patch collection), or None if no images or patch collections have been defined. The commandsimshow()andfigimage()createImageinstances, and the commandspcolor()andscatter()createCollectioninstances. The current image is an attribute of the current axes, or the nearest earlier axes in the current figure that contains an image.
© 2012–2018 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/2.2.3/api/_as_gen/matplotlib.pyplot.gci.html