code: def PluginDirectory(logdir, plugin_name):
      """Returns the plugin directory for plugin_name."""
      return os.path.join(logdir, _PLUGINS_DIR, plugin_name)
  
imports: import os.path
  from tensorboard.compat import tf
label_desc: Use image node_id 2 for calling a global function with example usage: PluginDirectory(logdir, plugin_name) and returns: os