code: def test_add_pr_curve(relay_server, wandb_init):
      with relay_server() as relay:
          run = wandb_init(sync_tensorboard=True)
          writer = tf.summary.create_file_writer(run.dir)
          pr_curve_summary = tb_summary.pr_curve(
              "test_pr",
              labels=tf.constant(
                  [True, False, True],
              ),
              predictions=tf.constant(
                  [0.7, 0.2, 0.3],
              ),
              num_thresholds=5,
          )
  
          with writer.as_default():
              tf.summary.experimental.write_raw_pb(
                  pr_curve_summary,
                  step=0,
              )
  
          run.finish()
  
      config = relay.context.config[run.id]
      assert (
          "test_pr/pr_curves" in config["_wandb"]["value"]["visualize"]
      )
      assert (
          config["_wandb"]["value"]["visualize"]["test_pr/pr_curves"]
          == PR_CURVE_PANEL_CONFIG
      )
      wandb.tensorboard.unpatch()
  
file_path: wandb/tests/pytest_tests/system_tests/test_core/test_wandb_tensorflow.py
imports: import os
  import platform
  import pytest
  import tensorboard.summary.v1
  import tensorflow
  import wandb
  from tensorboard.plugins.pr_curve import summary
  from wandb.errors import term
label_desc: Use image node_id 3 for calling a global function with example usage: test_add_pr_curve(relay_server, wandb_init) without return types