code: def testScalars(self):
      ctx = context.RequestContext()
      body = self.plugin.scalars_impl(
          ctx, "bar", "increments", "exp_id"
      )
      self.assertTrue(body["regex_valid"])
      self.assertCountEqual(
          ["increments/scalar_summary"],
          list(body["tag_to_events"].keys()),
      )
      data = body["tag_to_events"]["increments/scalar_summary"]
      for step, entry in enumerate(data):
          # The time stamp should be reasonable.
          self.assertGreater(entry[0], 0)
          self.assertEqual(step, entry[1])
          np.testing.assert_allclose(step + 1, entry[2])
  
imports: import csv
  import io
  import json
  import os
  import numpy
  import tensorflow
  from werkzeug import test
  from werkzeug import wrappers
  from google.protobuf import json_format
  from tensorboard.backend import application
  from tensorboard import context
  from tensorboard.backend.event_processing import data_provider
  from tensorboard.backend.event_processing import plugin_event_multiplexer
  from tensorboard.plugins import base_plugin
  from tensorboard.plugins.custom_scalar import custom_scalars_plugin
  from tensorboard.plugins.custom_scalar import layout_pb2
  from tensorboard.plugins.custom_scalar import summary
  from tensorboard.plugins.scalar import scalars_plugin
  from tensorboard.plugins.scalar import summary
  from tensorboard.util import test_util
label_desc: Use image node_id 5 for calling the CustomScalarsPluginTest obj's underlying member method code with example usage: obj.testScalars() without return types