class_docstr: Raw summary example plugin for TensorBoard.
class_docstr_tok: ["Raw","summary","example","plugin","for","TensorBoard","."]
docstr: Given a tag and single run, return array of ScalarEvents.
docstr_tok: ["Given","a","tag","and","single","run",",","return","array","of","ScalarEvents","."]
code: def scalars_route(self, request):
      """Given a tag and single run, return array of ScalarEvents."""
      tag = request.args.get("tag")
      run = request.args.get("run")
      ctx = plugin_util.context(request.environ)
      experiment = plugin_util.experiment_id(request.environ)
      body = self.scalars_impl(ctx, experiment, tag, run)
      return http_util.Respond(request, body, "application/json")
  
file_path: tensorboard/tensorboard/examples/plugins/example_raw_scalars/tensorboard_plugin_example_raw_scalars/plugin.py
imports: import mimetypes
  import os
  from werkzeug import wrappers
  from tensorboard import errors
  from tensorboard import plugin_util
  from tensorboard.backend import http_util
  from tensorboard.data import provider
  from tensorboard.plugins import base_plugin
  from tensorboard.plugins.scalar import metadata
label_desc: Use image node_id 8 for calling the ExampleRawScalarsPlugin obj's underlying member method code with example usage: obj.scalars_route(request) and returns: http_util