vanessbut commited on
Commit
a0f3313
1 Parent(s): 3a2ce5a

Добавлена гистограма.

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -85,7 +85,7 @@ if not text is None and len(text) > 0:
85
  st.markdown("Топ %d ключевых слов: **%s**" % (top, ', '.join(labels[0:5])))
86
 
87
  # График важности слов.
88
- fig, ax = plt.subplots(figsize=(8, 16))
89
  ax.set_title("95% самых важных ключевых слов")
90
  ax.grid(color='#000000', alpha=0.15, linestyle='-', linewidth=1, which='major')
91
  ax.grid(color='#000000', alpha=0.1, linestyle='-', linewidth=0.5, which='minor')
 
85
  st.markdown("Топ %d ключевых слов: **%s**" % (top, ', '.join(labels[0:5])))
86
 
87
  # График важности слов.
88
+ fig, ax = plt.subplots(figsize=(8, len(labels)))
89
  ax.set_title("95% самых важных ключевых слов")
90
  ax.grid(color='#000000', alpha=0.15, linestyle='-', linewidth=1, which='major')
91
  ax.grid(color='#000000', alpha=0.1, linestyle='-', linewidth=0.5, which='minor')