matplotlib.pyplot.clim
-
matplotlib.pyplot.clim(vmin=None, vmax=None)
-
Set the color limits of the current image.
To apply clim to all axes images do:
clim(0, 0.5)
If either vmin or vmax is None, the image min/max respectively will be used for color scaling.
If you want to set the clim of multiple images, use, for example:
for im in gca().get_images(): im.set_clim(0, 0.05)
Examples using matplotlib.pyplot.clim
© 2012–2017 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
http://matplotlib.org/2.1.0/api/_as_gen/matplotlib.pyplot.clim.html