class_docstr: Histograms Plugin for TensorBoard.
  
  This supports both old-style summaries (created with TensorFlow ops
  that output directly to the `histo` field of the proto) and new-
  style summaries (as created by the
  `tensorboard.plugins.histogram.summary` module).
class_docstr_tok: ["Histograms","Plugin","for","TensorBoard",".","This","supports","both","old-style","summaries","(","created","with","TensorFlow","ops","that","output","directly","to","the","`","histo","`","field","of","the","proto",")","and","new-","style","summaries","(","as","created","by","the","`","tensorboard.plugins.histogram.summary","`","module",")","."]
docstr: Instantiates HistogramsPlugin via TensorBoard core.
  
  Args:
    context: A base_plugin.TBContext instance.
docstr_tok: ["Instantiates","HistogramsPlugin","via","TensorBoard","core",".","Args",":","context",":","A","base_plugin.TBContext","instance","."]
code: def __init__(self, context):
      """Instantiates HistogramsPlugin 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="histogram",
          latest_known_version=0,
      )
  
file_path: tensorboard/tensorboard/plugins/histogram/histograms_plugin.py
imports: 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.histogram import metadata
label_desc: Use image node_id 1 to create a new HistogramsPlugin object from inherited base classes: base_plugin with example: obj = HistogramsPlugin(context)