Sa-m commited on
Commit
5696ea4
1 Parent(s): bc86dbe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -151,7 +151,9 @@ def fDistancePlot(text2Party,plotN=30):
151
  '''
152
  word_tokens_party = word_tokenize(text2Party) #Tokenizing
153
  fdistance = FreqDist(word_tokens_party)
154
- plt.figure(figsize=(4,6))
 
 
155
  fdistance.plot(plotN)
156
  plt.tight_layout()
157
  buf = BytesIO()
 
151
  '''
152
  word_tokens_party = word_tokenize(text2Party) #Tokenizing
153
  fdistance = FreqDist(word_tokens_party)
154
+ plt.title('Frequency Distribution')
155
+ plt.axis('off')
156
+ plt.figure(figsize=(4,3))
157
  fdistance.plot(plotN)
158
  plt.tight_layout()
159
  buf = BytesIO()