code: def get_config_file(*args):
      """Return specified args from `~/.plotly/.config`. as tuple.
  
      Returns all if no arguments are specified.
  
      Example:
          get_config_file('plotly_domain')
  
      """
      # Read config from file if possible
      config = utils.load_json_dict(CONFIG_FILE, *args)
      if not config:
          # Config could not be read, use defaults
          config = copy.copy(FILE_CONTENT[CONFIG_FILE])
  
      return config
  
imports: from __future__ import absolute_import
  import urllib
  import warnings
  import copy
  from _plotly_utils import optional_imports
  import _plotly_utils.exceptions
  from _plotly_utils.files import ensure_writable_plotly_dir
  from chart_studio import session, utils
  from chart_studio.files import CONFIG_FILE, CREDENTIALS_FILE, FILE_CONTENT
label_desc: Use image node_id 7 for calling a global function with example usage: get_config_file() and returns: config