title: TensorFlow's TensorBoard doesn't show event graph
body: <p>I'm following a simple "Hello, World" <a href="https://www.oreilly.com/learning/hello-tensorflow" rel="nofollow noreferrer">tutorial</a> on TensorFlow and am trying to use TensorBoard to show the machine learning loss over multiple iterations of the gradient descent loss. </p>
  
  <p>I think I followed everything correctly in my Jupyter (IPython) notebook, but I don't think the events are being generated saved to the file for TensorBoard to visualize.</p>
  
  <p>Here is my code:</p>
  
  <pre><code>summary_y = tf.summary.scalar('output', y)
  summary_writer = tf.summary.FileWriter('log_simple_stats')
  sess.run(tf.initialize_all_variables())
  for i in range(100):
      summary_str = sess.run(summary_y)
      summary_writer.add_summary(summary_str, i)
      sess.run(train_step)
  </code></pre>
  
  <p>When I then check out TensorBoard, there is only one point. There should be a graph with a curve. </p>
  
  <p><a href="https://i.stack.imgur.com/8dsCC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8dsCC.png" alt="enter image description here"></a></p>
  
  <p>I also looked at my output file in the directory. It seems that not much has been written to the output file (only 84 bytes):</p>
  
  <pre><code>-rw-r--r--  1 user.name  group   84 Oct 29 13:00 events.out.tfevents.1509307239.mymacbookpro.local
  </code></pre>
  
  <p>What can I do to have TensorBoard show the events?</p>