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: Add a new color scheme to the table.
docstr_tok: ["Add","a","new","color","scheme","to","the","table","."]
code: def add_scheme(self, new_scheme):
      """Add a new color scheme to the table."""
      if not isinstance(new_scheme, ColorScheme):
          raise ValueError(
              "ColorSchemeTable only accepts ColorScheme instances"
          )
      self[new_scheme.name] = new_scheme
  
file_path: catboost/contrib/python/ipython/py3/IPython/utils/coloransi.py
imports: import os
  from IPython.utils.ipstruct import Struct
label_desc: Use image node_id 3 for calling the ColorSchemeTable obj's underlying member method code with example usage: obj.add_scheme(new_scheme) without return types