code: def save_config(**kwargs):
      """Save configuration keys to vispy config file
  
      Parameters
      ----------
      **kwargs : keyword arguments
          Key/value pairs to save to the config file.
      """
      if kwargs == {}:
          kwargs = config._config
      current_config = _load_config()
      current_config.update(**kwargs)
      # write to disk
      fname = _get_config_fname()
      if fname is None:
          raise RuntimeError("config filename could not be determined")
      if not op.isdir(op.dirname(fname)):
          os.mkdir(op.dirname(fname))
      with open(fname, "w") as fid:
          json.dump(current_config, fid, sort_keys=True, indent=0)
  
imports: import io
  import os
  from os import path
  import inspect
  import json
  import sys
  import platform
  import getopt
  import traceback
  import tempfile
  import atexit
  from shutil import rmtree
  import numpy
  from .event import EmitterGroup, EventEmitter, Event
  from .logs import logger, set_log_level, use_log_level
label_desc: Use image node_id 7 for calling a global function with example usage: save_config() without return types