class_docstr: CustomScalars Plugin for TensorBoard.
code: def download_data_route(self, request):
      ctx = plugin_util.context(request.environ)
      run = request.args.get("run")
      tag = request.args.get("tag")
      experiment = plugin_util.experiment_id(request.environ)
      response_format = request.args.get("format")
      try:
          body, mime_type = self.download_data_impl(
              ctx, run, tag, experiment, response_format
          )
      except ValueError as e:
          return http_util.Respond(
              request=request,
              content=str(e),
              content_type="text/plain",
              code=400,
          )
      return http_util.Respond(request, body, mime_type)
  
imports: import re
  from google.protobuf import json_format
  from werkzeug import wrappers
  from tensorboard import plugin_util
  from tensorboard.backend import http_util
  from tensorboard.compat import tf
  from tensorboard.data import provider
  from tensorboard.plugins import base_plugin
  from tensorboard.plugins.custom_scalar import layout_pb2
  from tensorboard.plugins.custom_scalar import metadata
  from tensorboard.plugins.scalar import metadata
  from tensorboard.plugins.scalar import scalars_plugin
label_desc: Use image node_id 6 for calling the CustomScalarsPlugin obj's underlying member method code with example usage: obj.download_data_route(request) and returns: http_util, http_util