code: def custom_line_color_map(self, values):
          
          if not isinstance(values, list):
              raise TypeError("custom_line_color_map must be a list")
  
          self.options["custom_line_color_map"] = values
docs: Set the custom line color map.
  
              Args:
                  values (list): list of colors.
  
              Raises:
                  TypeError: Custom line color map must be a list.