'xcosx':i*np.cos(i/r),
                                             'tanx': np.tan(i/r)}, i)
         writer.close()
         # This call adds three values to the same scalar plot with the tag
         # 'run_14h' in TensorBoard's scalar section.
  Expected result:

  [image]

add_histogram(tag, values, global_step=None, bins='tensorflow', walltime=None, max_bins=None)
  Add histogram to summary.

  Parameters:
     * **tag** (*str*) -- Data identifier

     * **values** (*torch.Tensor**, **numpy.ndarray**, or
       **string/blobname*) -- Values to build histogram

     * **global_step** (*int*) -- Global step value to record

     * **bins** (*str*) -- One of {'tensorflow','auto', 'fd',
       ...}. This determines how the bins are made. You can find
       other options in: https://docs.scipy.org/doc/numpy/referen
       ce/generated/numpy.histogram.html
