code: def compute_one_digit_freqs(filename):
      """
      Read digits of pi from a file and compute the 1 digit frequencies.
      """
      d = txt_file_to_digits(filename)
      freqs = one_digit_freqs(d)
      return freqs
  
file_path: ipyparallel/docs/source/examples/pi/pidigits.py
imports: import os
  from urllib.request import urlretrieve
  import numpy
  from matplotlib import pyplot
label_desc: Use image node_id 2 for calling a global function with example usage: compute_one_digit_freqs(filename) and returns: freqs