Commit 8689636328d4ff4dba94643dedc6513c36fb8691

Authored by Cristina Muntean
1 parent 723e14fb

prepairing plot bug fix

Showing 1 changed file with 2 additions and 0 deletions   Show diff stats
prepare_plot_scatter_2_distrib.py
... ... @@ -69,6 +69,8 @@ def readFromFileMultipleEdges(filename, columnNumber):
69 69 word = rowDataCols[1]
70 70 counter = rowDataCols[columnNumber - 1]
71 71 docList.append(tuple([word, int(counter)]))
  72 + if counter > max_in_distrib:
  73 + max_in_distrib = counter
72 74 return docList, float(max_in_distrib)
73 75  
74 76  
... ...