code: def test_custom_scalars(self):
      layout = {
          "Taiwan": {"twse": ["Multiline", ["twse/0050", "twse/2330"]]},
          "USA": {
              "dow": ["Margin", ["dow/aaa", "dow/bbb", "dow/ccc"]],
              "nasdaq": [
                  "Margin",
                  ["nasdaq/aaa", "nasdaq/bbb", "nasdaq/ccc"],
              ],
          },
      }
      summary.custom_scalars(layout)
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  from tensorboardX import summary
  from .expect_reader import compare_proto, write_proto
  import numpy
  import pytest
  import unittest
  import torch
label_desc: Use image node_id 21 for calling the SummaryTest obj's underlying member method code with example usage: obj.test_custom_scalars() without return types