docstr: Write the options to a yaml file
docstr_tok: ["Write","the","options","to","a","yaml","file"]
code: def _to_yaml(self, filename):
      """Write the options to a yaml file"""
      with open(filename, "w") as outfile:
          yaml.dump(self._options, outfile, default_flow_style=False)
  
file_path: chartify/chartify/_core/options.py
imports: from collections import OrderedDict
  import os
  from pathlib import Path
  import yaml
label_desc: Use image node_id 5 for calling the ChartifyOptions obj's underlying member method code with example usage: obj._to_yaml(filename) without return types