code: def reset_scales():
      global _scales
      global _scales_names
      scale_cpy = cl.scales.copy()
  
      # Add custom scales
      for k, v in list(_custom_scales.items()):
          if v:
              for k_, v_ in list(v.items()):
                  if str(len(v_)) not in scale_cpy:
                      scale_cpy[str(len(v_))] = {}
                  scale_cpy[str(len(v_))][k][k_] = [
                      hex_to_rgb(normalize(_)) for _ in v_
                  ]
  
      # Dictionary by Type > Name > N
      _scales = {}
      for k, v in list(scale_cpy.items()):
          for k_, v_ in list(v.items()):
              if k_ not in _scales:
                  _scales[k_] = {}
              for k__, v__ in list(v_.items()):
                  if k__ not in _scales[k_]:
                      _scales[k_][k__] = {}
                  _scales[k_][k__][k] = v__
  
      # Dictionary by Name > N
      _scales_names = {}
      for k, v in list(scale_cpy.items()):
          for k_, v_ in list(v.items()):
              for k__, v__ in list(v_.items()):
                  k__ = k__.lower()
                  if k__ not in _scales_names:
                      _scales_names[k__] = {}
                  _scales_names[k__][k] = v__
  
imports: import numpy
  import colorsys
  import colorlover
  import operator
  import copy
  from collections import deque
  from six import string_types
  from IPython.display import HTML, display
  from .utils import inverseDict
  from .auth import get_config_file
label_desc: Use image node_id 12 for calling a global function with example usage: reset_scales() without return types