class_docstr: A plugin that serves PR curves for individual classes.
class_docstr_tok: ["A","plugin","that","serves","PR","curves","for","individual","classes","."]
docstr: Instantiates a PrCurvesPlugin.
  
  Args:
    context: A base_plugin.TBContext instance. A magic container that
      TensorBoard uses to make objects available to the plugin.
docstr_tok: ["Instantiates","a","PrCurvesPlugin",".","Args",":","context",":","A","base_plugin.TBContext","instance",".","A","magic","container","that","TensorBoard","uses","to","make","objects","available","to","the","plugin","."]
code: def __init__(self, context):
      """Instantiates a PrCurvesPlugin.
  
      Args:
        context: A base_plugin.TBContext instance. A magic container that
          TensorBoard uses to make objects available to the plugin.
      """
      self._data_provider = context.data_provider
      self._downsample_to = (context.sampling_hints or {}).get(
          metadata.PLUGIN_NAME, _DEFAULT_DOWNSAMPLING
      )
      self._version_checker = plugin_util._MetadataVersionChecker(
          data_kind="PR curve",
          latest_known_version=0,
      )
  
file_path: tensorboard/tensorboard/plugins/pr_curve/pr_curves_plugin.py
imports: import numpy
  from werkzeug import wrappers
  from tensorboard import plugin_util
  from tensorboard.data import provider
  from tensorboard.backend import http_util
  from tensorboard.plugins import base_plugin
  from tensorboard.plugins.pr_curve import metadata
label_desc: Use image node_id 1 to create a new PrCurvesPlugin object from inherited base classes: base_plugin with example: obj = PrCurvesPlugin(context)