code: def overwrite_plotlywidget_version_file(version):
      path = os.path.join(here, "plotly", "_widget_version.py")
      with open(path, "w") as f:
          f.write(
              """\
  # This file is generated by the updateplotlywidgetversion setup.py command
  # for automated dev builds
  #
  # It is edited by hand prior to official releases
  __frontend_version__ = "{version}"
  """.format(
                  version=version
              )
          )
  
imports: import os
  import sys
  import platform
  import json
  from setuptools import setup, Command
  from setuptools.command.egg_info import egg_info
  from subprocess import check_call
  from distutils import log
  import versioneer
label_desc: Use image node_id 8 for calling a global function with example usage: overwrite_plotlywidget_version_file(version) without return types