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: Autoscale the scalar limits on the norm instance using the
  current array
docstr_tok: ["Autoscale","the","scalar","limits","on","the","norm","instance","using","the","current","array"]
code: def autoscale(self):
      """
      Autoscale the scalar limits on the norm instance using the
      current array
      """
      if self._A is None:
          raise TypeError("You must first set_array for mappable")
      self.norm.autoscale(self._A)
      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 10 for calling the ScalarMappable obj's underlying member method code with example usage: obj.autoscale() without return types