code: def test_show_curve():
      try:
          from nnabla.experimental.tb_graph_writer import TBGraphWriter
      except:
          pytest.skip(
              "Skip because tensorboardX and tensorflow is not installed."
          )
  
      with TBGraphWriter(log_dir="log_out") as tb:
          values = []
          for i in range(360):
              s = np.sin(i / 180.0 * np.pi)
              tb.add_scalar("show_curve/sin", s, i)
              values.append(s)
  
          nd_values = np.array(values)
          for i in range(10):
              tb.add_histogram("histogram", nd_values, i)
              nd_values += 0.05
  
imports: import pytest
  import numpy
  import nnabla
  import nnabla.functions
  import nnabla.parametric_functions
label_desc: Use image node_id 2 for calling a global function with example usage: test_show_curve() without return types