code: def static_bar():
      w = tw.Watcher()
      s = w.create_stream()
  
      v = tw.Visualizer(s, vis_type="bar")
      v.show()
  
      for i in range(10):
          s.write(int(random.random() * 10))
  
      tw.plt_loop()
  
imports: import tensorwatch
  import random, time
label_desc: Use image node_id 1 for calling a global function with example usage: static_bar() without return types