class_docstr: Text Plugin for TensorBoard.
docstr: Instantiates TextPlugin via TensorBoard core.
  
  Args:
    context: A base_plugin.TBContext instance.
docstr_tok: ["Instantiates","TextPlugin","via","TensorBoard","core",".","Args",":","context",":","A","base_plugin.TBContext","instance","."]
code: def __init__(self, context):
      """Instantiates TextPlugin via TensorBoard core.
  
      Args:
        context: A base_plugin.TBContext instance.
      """
      self._downsample_to = (context.sampling_hints or {}).get(
          self.plugin_name, _DEFAULT_DOWNSAMPLING
      )
      self._data_provider = context.data_provider
      self._version_checker = plugin_util._MetadataVersionChecker(
          data_kind="text",
          latest_known_version=0,
      )
  
imports: import textwrap
  import numpy
  from werkzeug import wrappers
  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.text import metadata
label_desc: Use image node_id 1 to create a new TextPlugin object from inherited base classes: base_plugin with example: obj = TextPlugin(context)