class_docstr: General class to handle tables of color schemes.
  
  It's basically a dict of color schemes with a couple of shorthand
  attributes and some convenient methods.
  
  active_scheme_name -> obvious
  active_colors -> actual color table of the active scheme
class_docstr_tok: ["General","class","to","handle","tables","of","color","schemes",".","It","'s","basically","a","dict","of","color","schemes","with","a","couple","of","shorthand","attributes","and","some","convenient","methods",".","active_scheme_name","-",">","obvious","active_colors","-",">","actual","color","table","of","the","active","scheme"]
docstr: Create a table of color schemes.
  
  The table can be created empty and manually filled or it can be
  created with a list of valid color schemes AND the specification for
  the default active scheme.
docstr_tok: ["Create","a","table","of","color","schemes",".","The","table","can","be","created","empty","and","manually","filled","or","it","can","be","created","with","a","list","of","valid","color","schemes","AND","the","specification","for","the","default","active","scheme","."]
code: def __init__(self, scheme_list=None, default_scheme=""):
      """Create a table of color schemes.
  
      The table can be created empty and manually filled or it can be
      created with a list of valid color schemes AND the specification for
      the default active scheme.
      """
  
      # create object attributes to be set later
      self.active_scheme_name = ""
      self.active_colors = None
  
      if scheme_list:
          if default_scheme == "":
              raise ValueError(
                  "you must specify the default color scheme"
              )
          for scheme in scheme_list:
              self.add_scheme(scheme)
          self.set_active_scheme(default_scheme)
  
file_path: catboost/contrib/python/ipython/py2/IPython/utils/coloransi.py
imports: import os
  from IPython.utils.ipstruct import Struct
label_desc: Use image node_id 1 to create a new ColorSchemeTable object from inherited base classes: dict with example: obj = ColorSchemeTable(scheme_list, default_scheme)