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.
1 parent 559925e commit 7c1eddeCopy full SHA for 7c1edde
lib/matplotlib/pyplot.py
@@ -2027,18 +2027,14 @@ def clim(vmin=None, vmax=None):
2027
"""
2028
Set the color limits of the current image.
2029
2030
- To apply clim to all axes images do::
2031
-
2032
- clim(0, 0.5)
2033
2034
If either *vmin* or *vmax* is None, the image min/max respectively
2035
will be used for color scaling.
2036
2037
- If you want to set the clim of multiple images,
2038
- use, for example::
+ If you want to set the clim of multiple images, use
+ `~.ScalarMappable.set_clim` on every image, for example::
2039
2040
for im in gca().get_images():
2041
- im.set_clim(0, 0.05)
+ im.set_clim(0, 0.5)
2042
2043
2044
im = gci()
0 commit comments