code: def colorscale_to_scale(colorscale):
      """
      Extracts the interpolation scale values from colorscale as a list
      """
      scale_list = []
      for item in colorscale:
          scale_list.append(item[0])
      return scale_list
  
imports: import decimal
  from numbers import Number
  from _plotly_utils import exceptions
  from .None import qualitative, sequential, diverging, cyclical, cmocean, colorbrewer, carto, plotlyjs
label_desc: Use image node_id 17 for calling a global function with example usage: colorscale_to_scale(colorscale) and returns: scale_list