class_docstr: A mixin class to map scalar data to RGBA.
  
  The ScalarMappable applies data normalization before returning RGBA colors
  from the given colormap.
docstr: Set the normalization instance.
  
  Parameters
  ----------
  norm : `.Normalize` or str or None
  
  Notes
  -----
  If there are any colorbars using the mappable for this norm, setting
  the norm of the mappable will reset the norm, locator, and formatters
  on the colorbar to default.
docstr_tok: ["Set","the","normalization","instance",".","Parameters","--","--","--","--","--","norm",":","`",".Normalize","`","or","str","or","None","Notes","--","--","-","If","there","are","any","colorbars","using","the","mappable","for","this","norm",",","setting","the","norm","of","the","mappable","will","reset","the","norm",",","locator",",","and","formatters","on","the","colorbar","to","default","."]
code: def set_norm(self, norm):
      """
      Set the normalization instance.
  
      Parameters
      ----------
      norm : `.Normalize` or str or None
  
      Notes
      -----
      If there are any colorbars using the mappable for this norm, setting
      the norm of the mappable will reset the norm, locator, and formatters
      on the colorbar to default.
      """
      self.norm = norm
  
imports: from collections.abc import Mapping
  import functools
  import numpy
  from numpy import ma
  import matplotlib
  from matplotlib import _api, colors, cbook, scale
  from matplotlib._cm import datad
  from matplotlib._cm_listed import cmaps
label_desc: Use image node_id 13 for calling the ScalarMappable obj's underlying member method code with example usage: obj.set_norm(norm) without return types