def plotlyFrequencyHistogram(counts):
  """
  x-axis is a count of how many times a bit was active
  y-axis is number of bits that have that frequency
  """
  data = [
    go.Histogram(
      x=tuple(count for _, _, count in counts.getNonZerosSorted())
    )
  ]
  py.plot(data, filename=os.environ.get("HEATMAP_NAME",
                                        str(datetime.datetime.now())))
def plotlyFrequencyHistogram ( counts ) : data = [ go . Histogram ( x = tuple ( count for _ , _ , count in counts . getNonZerosSorted ( ) ) ) ] py . plot ( data , filename = os . environ . get ( "HEATMAP_NAME" , str ( datetime . datetime . now ( ) ) ) )
x-axis is a count of how many times a bit was active
  y-axis is number of bits that have that frequency