def clim(vmin=None, vmax=None):
im = gci()<EOL>if im is None:<EOL><INDENT>raise RuntimeError('<STR_LIT>')<EOL><DEDENT>im.set_clim(vmin, vmax)<EOL>draw_if_interactive()<EOL>
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)