code: def add_custom_scalars_multilinechart(
      cls, tags, category=None, title=None
  ):
      assert category and title, "category & title must be set"
      if category not in cls._custom_scalars:
          cls._custom_scalars[category] = {}
      assert (
          title not in cls._custom_scalars[category]
      ), "Title ({}) is already in category ({})".format(
          title, category
      )
      cls._custom_scalars[category][title] = ["Multiline", tags]
  
file_path: ReAgent/reagent/core/tensorboardX.py
imports: import contextlib
  import logging
  from typing import Any, Dict, List
  from torch.utils.tensorboard import SummaryWriter
label_desc: Use image node_id 5 for calling the SummaryWriterContext obj's underlying member method code with example usage: obj.add_custom_scalars_multilinechart(cls, tags, category, title) without return types