docstr: :param functions_to_reset: List[str]
  :param values_to_set: List[str]
  :param reset_function_name: str, default = rest
  :return: str
docstr_tok: [":","param","functions_to_reset",":","List","[","str","]",":","param","values_to_set",":","List","[","str","]",":","param","reset_function_name",":","str",",","default","=","rest",":","return",":","str"]
code: def get_js_reset_function(
      self,
      values_to_set,
      functions_to_reset,
      reset_function_name="reset",
  ):
      """
  
      :param functions_to_reset: List[str]
      :param values_to_set: List[str]
      :param reset_function_name: str, default = rest
      :return: str
      """
      return (
          "function "
          + reset_function_name
          + "() {"
          + "document.querySelectorAll('.scattertext').forEach(element=>element.innerHTML=null);\n"
          + "document.querySelectorAll('#d3-div-1-corpus-stats').forEach(element=>element.innerHTML=null);\n"
          + " ".join(
              [
                  value + " = " + function_name + "();"
                  for value, function_name in zip(
                      values_to_set, functions_to_reset
                  )
              ]
          )
          + "}"
      )
  
file_path: scattertext/scattertext/viz/ScatterplotStructure.py
imports: import json
  from scattertext.Common import DEFAULT_DIV_ID, DEFAULT_D3_AXIS_VALUE_FORMAT
label_desc: Use image node_id 5 for calling the ScatterplotStructure obj's underlying member method code with example usage: obj.get_js_reset_function(values_to_set, functions_to_reset, reset_function_name) and returns: unknown