class_docstr: Refer to TraceFactory.create_table() for docstring
docstr: Fill font-color array.
  
  Table text color can vary by row so this extends a single color or
  creates an array to set a header color and two alternating colors to
  create the striped table pattern.
  
  :rtype (list[list]) all_font_colors: list of font colors for each row
      in table.
code: def get_table_font_color(self):
      """
      Fill font-color array.
  
      Table text color can vary by row so this extends a single color or
      creates an array to set a header color and two alternating colors to
      create the striped table pattern.
  
      :rtype (list[list]) all_font_colors: list of font colors for each row
          in table.
      """
      if len(self.font_colors) == 1:
          all_font_colors = self.font_colors * len(self.table_text)
      elif len(self.font_colors) == 3:
          all_font_colors = list(range(len(self.table_text)))
          all_font_colors[0] = self.font_colors[0]
          for i in range(1, len(self.table_text), 2):
              all_font_colors[i] = self.font_colors[1]
          for i in range(2, len(self.table_text), 2):
              all_font_colors[i] = self.font_colors[2]
      elif len(self.font_colors) == len(self.table_text):
          all_font_colors = self.font_colors
      else:
          all_font_colors = ["#000000"] * len(self.table_text)
      return all_font_colors
  
file_path: catboost/contrib/python/plotly/py3/plotly/figure_factory/_table.py
imports: from plotly import exceptions, optional_imports
  from plotly.graph_objs import graph_objs
label_desc: Use image node_id 3 for calling the _Table obj's underlying member method code with example usage: obj.get_table_font_color() and returns: all_font_colors