docstr: Load color palettes from a yaml file
code: def _from_yaml(self, filename):
      """Load color palettes from a yaml file"""
      palette_list = yaml.load(open(filename), Loader=yaml.SafeLoader)
      for palette in palette_list:
          hex_color_list, palette_type, name = palette
          self._add_palette(
              ColorPalette.from_hex_list(
                  colors=hex_color_list,
                  palette_type=palette_type,
                  name=name,
              )
          )
  
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 7 for calling the ColorPalettes obj's underlying member method code with example usage: obj._from_yaml(filename) without return types