code: def get_js_to_call_build_scatterplot_with_a_function(
      self, object_name="plotInterface", function_name=None
  ):
      if function_name is None:
          function_name = "build" + object_name
      function_text = (
          "function "
          + function_name
          + "() { return "
          + self.call_build_visualization_in_javascript()
          + ";}"
      )
      return (
          function_text
          + "\n\n"
          + object_name
          + " = "
          + function_name
          + "();"
      )
  
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 4 for calling the ScatterplotStructure obj's underlying member method code with example usage: obj.get_js_to_call_build_scatterplot_with_a_function(object_name, function_name) and returns: unknown