[ Web Proxy ]
URL:
Viewing: https://matplotlib.org/devdocs/api/_as_gen/matplotlib.pyplot.clim.html [Back]  [Original]

matplotlib.pyplot.clim — Matplotlib 3.12.0.dev731+g2fb04d1a6 documentation
Back to top
Search the docs ...:

matplotlib.pyplot.clim#

matplotlib.pyplot.clim(vmin=None, vmax=None)[source]#

Set the color limits of the current image.

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 set_clim on every image, for example:

for im in gca().get_images():
    im.set_clim(0, 0.5)

Web Proxy Viewer  |  New URL  |  Original Page