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 image array from numpy array *A*.
  
  .. ACCEPTS: ndarray
  
  Parameters
  ----------
  A : ndarray
docstr_tok: ["Set","the","image","array","from","numpy","array","*","A","*",".","..","ACCEPTS",":","ndarray","Parameters","--","--","--","--","--","A",":","ndarray"]
code: def set_array(self, A):
      """Set the image array from numpy array *A*.
  
      .. ACCEPTS: ndarray
  
      Parameters
      ----------
      A : ndarray
      """
      self._A = A
      self.update_dict["array"] = True
  
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 3 for calling the ScalarMappable obj's underlying member method code with example usage: obj.set_array(A) without return types