class_docstr: CustomScalars Plugin for TensorBoard.
docstr: Instantiates ScalarsPlugin via TensorBoard core.
  
  Args:
    context: A base_plugin.TBContext instance.
docstr_tok: ["Instantiates","ScalarsPlugin","via","TensorBoard","core",".","Args",":","context",":","A","base_plugin.TBContext","instance","."]
code: def __init__(self, context):
      """Instantiates ScalarsPlugin via TensorBoard core.
  
      Args:
        context: A base_plugin.TBContext instance.
      """
      self._logdir = context.logdir
      self._data_provider = context.data_provider
      self._plugin_name_to_instance = context.plugin_name_to_instance
  
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 1 to create a new CustomScalarsPlugin object from inherited base classes: base_plugin with example: obj = CustomScalarsPlugin(context)