code: def continuous_nums_to_colors(
      min_color, max_color, continuous_color_scale
  ):
      def adjust_color(input_color):
          return (input_color - min_color) / (max_color - min_color)
  
      def transform_color(input_color):
          return plotly.colors.sample_colorscale(
              continuous_color_scale, adjust_color(input_color)
          )[0]
  
      return transform_color
  
file_path: hail/hail/python/hail/ggplot/utils.py
imports: import plotly
  import hail
label_desc: Use image node_id 8 for calling a global function with example usage: continuous_nums_to_colors(min_color, max_color, continuous_color_scale) and returns: transform_color, unknown, plotly