code: def __getitem__(self, item):
      try:
          return self._palettes[item.lower()]
      except KeyError:
          raise KeyError(
              """Invalid color palette name.
                  See chartify.color_palettes.show() for
                  the available color palettes."""
          )
  
imports: from collections import OrderedDict
  from bokeh import palettes
  from IPython.core.display import HTML
  import yaml
  from chartify._core.options import options
  from chartify._core import colour
label_desc: Use image node_id 4 for calling the ColorPalettes obj's underlying member method code with example usage: obj.__getitem__(item) and returns: self