code: def FreqDist_chart (self):
          
          # Take a log of the data before plotting so that we can
          # reduce the number of points to plot evenly
          pdata = {}
          for idx, s_name in enumerate(self.tagdir_data['FreqDistribution']):
              pdata[s_name] = {}
              for x, y in self.tagdir_data['FreqDistribution'][s_name].items():
                  try:
                      pdata[s_name][math.log(float(x))] = y
                  except ValueError:
                      pass
          pconfig = {
              'id': 'FreqDistribution',
              'title': 'Frequency Distribution',
              'ylab': 'Fraction of Reads',
              'xlab': 'Log10(Distance between regions)',
              'data_labels': ['Reads', 'Percent'],
              'smooth_points': 500,
              'smooth_points_sumcounts': False,
              'yLog' : True
          }
          return linegraph.plot(pdata, pconfig)
docs: Make the petag.FreqDistribution_1000 plot