class_docstr: This is a mixin class to support scalar data to RGBA mapping.
  The ScalarMappable makes use of data normalization before returning
  RGBA colors from the given colormap.
docstr: set the norm limits for image scaling; if *vmin* is a length2
  sequence, interpret it as ``(vmin, vmax)`` which is used to
  support setp
  
  ACCEPTS: a length 2 sequence of floats; may be overridden in methods
  that have ``vmin`` and ``vmax`` kwargs.
docstr_tok: ["set","the","norm","limits","for","image","scaling",";","if","*","vmin","*","is","a","length2","sequence",",","interpret","it","as","``","(","vmin",",","vmax",")","``","which","is","used","to","support","setp","ACCEPTS",":","a","length","2","sequence","of","floats",";","may","be","overridden","in","methods","that","have","``","vmin","``","and","``","vmax","``","kwargs","."]
code: def set_clim(self, vmin=None, vmax=None):
      """
      set the norm limits for image scaling; if *vmin* is a length2
      sequence, interpret it as ``(vmin, vmax)`` which is used to
      support setp
  
      ACCEPTS: a length 2 sequence of floats; may be overridden in methods
      that have ``vmin`` and ``vmax`` kwargs.
      """
      if vmax is None:
          try:
              vmin, vmax = vmin
          except (TypeError, ValueError):
              pass
      if vmin is not None:
          self.norm.vmin = colors._sanitize_extrema(vmin)
      if vmax is not None:
          self.norm.vmax = colors._sanitize_extrema(vmax)
      self.changed()
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import six
  import numpy
  from numpy import ma
  import matplotlib
  import matplotlib.colors
  import matplotlib.cbook
  from matplotlib._cm import datad
  from matplotlib._cm_listed import cmaps
label_desc: Use image node_id 7 for calling the ScalarMappable obj's underlying member method code with example usage: obj.set_clim(vmin, vmax) without return types