code: def test_list_scalars_filters(self):
      provider = self.create_provider()
  
      result = provider.list_scalars(
          self.ctx,
          experiment_id="unused",
          plugin_name=scalar_metadata.PLUGIN_NAME,
          run_tag_filter=base_provider.RunTagFilter(
              ["waves"], ["square"]
          ),
      )
      self.assertCountEqual(result.keys(), ["waves"])
      self.assertCountEqual(result["waves"].keys(), ["square"])
  
      result = provider.list_scalars(
          self.ctx,
          experiment_id="unused",
          plugin_name=scalar_metadata.PLUGIN_NAME,
          run_tag_filter=base_provider.RunTagFilter(
              tags=["square", "quartic"]
          ),
      )
      self.assertCountEqual(result.keys(), ["polynomials", "waves"])
      self.assertCountEqual(result["polynomials"].keys(), ["square"])
      self.assertCountEqual(result["waves"].keys(), ["square"])
  
      result = provider.list_scalars(
          self.ctx,
          experiment_id="unused",
          plugin_name=scalar_metadata.PLUGIN_NAME,
          run_tag_filter=base_provider.RunTagFilter(
              runs=["waves", "hugs"]
          ),
      )
      self.assertCountEqual(result.keys(), ["waves"])
      self.assertCountEqual(result["waves"].keys(), ["sine", "square"])
  
      result = provider.list_scalars(
          self.ctx,
          experiment_id="unused",
          plugin_name=scalar_metadata.PLUGIN_NAME,
          run_tag_filter=base_provider.RunTagFilter(["un"], ["likely"]),
      )
      self.assertEqual(result, {})
  
imports: import os
  import numpy
  from tensorboard import context
  from tensorboard.backend.event_processing import data_provider
  from tensorboard.backend.event_processing import plugin_event_multiplexer
  from tensorboard.compat.proto import summary_pb2
  from tensorboard.data import provider
  from tensorboard.plugins.graph import metadata
  from tensorboard.plugins.histogram import metadata
  from tensorboard.plugins.histogram import summary_v2
  from tensorboard.plugins.scalar import metadata
  from tensorboard.plugins.scalar import summary_v2
  from tensorboard.plugins.image import metadata
  from tensorboard.plugins.image import summary_v2
  from tensorboard.util import tensor_util
  import tensorflow.compat.v1
  import tensorflow.compat.v2
label_desc: Use image node_id 9 for calling the MultiplexerDataProviderTest obj's underlying member method code with example usage: obj.test_list_scalars_filters() without return types