code: def plotly_js_version():
      path = os.path.join(
          project_root,
          "packages",
          "javascript",
          "jupyterlab-plotly",
          "package.json",
      )
      with open(path, "rt") as f:
          package_json = json.load(f)
          version = package_json["dependencies"]["plotly.js"]
          version = version.replace("^", "")
  
      return 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 1 for calling a global function with example usage: plotly_js_version() and returns: version