Commit 36a797c0985d2c483b0d7a9daef572242b77f1d3

Authored by Cristina Muntean
1 parent 86896363

prepairing plot bug fix

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
prepare_plot_scatter_2_distrib.py
... ... @@ -71,7 +71,7 @@ def readFromFileMultipleEdges(filename, columnNumber):
71 71 docList.append(tuple([word, int(counter)]))
72 72 if counter > max_in_distrib:
73 73 max_in_distrib = counter
74   - return docList, float(max_in_distrib)
  74 + return docList, max_in_distrib
75 75  
76 76  
77 77 if __name__ == '__main__':
... ... @@ -93,7 +93,7 @@ if __name__ == '__main__':
93 93 b, b_max = readFromFileMultipleEdges(inputFile2, columnNumber) ### we can improve this and keep only the ones
94 94 # present in a list
95 95 print len(a), len(b)
96   - print "Maxes", a_max, b_max
  96 + print "Maxes: ", a_max, b_max
97 97  
98 98 # make b a default dict as we search for elements from a
99 99 bDict = {rows[0]: int(rows[1]) for rows in b}
... ...