8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e2e0d48 + c70a130 commit 03eb0d6Copy full SHA for 03eb0d6
lib/matplotlib/pyplot.py
@@ -2069,18 +2069,14 @@ def clim(vmin=None, vmax=None):
2069
"""
2070
Set the color limits of the current image.
2071
2072
- To apply clim to all axes images do::
2073
-
2074
- clim(0, 0.5)
2075
2076
If either *vmin* or *vmax* is None, the image min/max respectively
2077
will be used for color scaling.
2078
2079
- If you want to set the clim of multiple images,
2080
- use, for example::
+ If you want to set the clim of multiple images, use
+ `~.ScalarMappable.set_clim` on every image, for example::
2081
2082
for im in gca().get_images():
2083
- im.set_clim(0, 0.05)
+ im.set_clim(0, 0.5)
2084
2085
2086
im = gci()
0 commit comments