Commit 41bb9e48 authored by Tags's avatar Tags

Removed spaces

parent 0d6d7805
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectCodeStyleSettingsManager">
<option name="PER_PROJECT_SETTINGS">
<value>
<option name="ALIGN_MULTILINE_PARAMETERS_IN_CALLS" value="true" />
<codeStyleSettings language="Python">
<option name="SPACE_BEFORE_METHOD_CALL_PARENTHESES" value="true" />
</codeStyleSettings>
</value>
</option>
<option name="PREFERRED_PROJECT_CODE_STYLE" value="Default" />
</component>
</project>
\ No newline at end of file
......@@ -93,12 +93,13 @@ def save():
def graph_results(in_data, title=''):
# import numpy as np
from pylab import figure, show, hist
from pylab import figure, show, hist, savefig
data = np.asarray(in_data)
figure()
hist(data, bins=50)
show()
savefig("fig.png")
# show()
def text_clear(word):
......@@ -164,13 +165,3 @@ if __name__ == '__main__':
diff_dict_sets = set(data_dictionary) - dict_standart
print('\nThe difference of extracted dictionary and common dictionary is', len(diff_dict_sets))
print(diff_dict_sets)
diff_dict_sets1 = set(data_dictionary) - dict_standart1
print ('\n2\nThe difference of extracted dictionary and common dictionary is', len (diff_dict_sets1))
print (diff_dict_sets1)
print("And the diff of sets are: ", len(diff_dict_sets1 ^ diff_dict_sets))
print(diff_dict_sets1 ^ diff_dict_sets)
diff_diff_dictionary= set(data_dictionary) - dict_standart - dict_standart1
print("If double diffs to do we get: ", len(diff_diff_dictionary))
print(diff_diff_dictionary)
\ No newline at end of file
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment