Thanks to visit codestin.com Credit goes to github.com
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 470a1ab + 7c1edde commit d7340c9Copy full SHA for d7340c9
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