sneves commited on
Commit
e9ec036
·
verified ·
1 Parent(s): 1dc6ca7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -5
app.py CHANGED
@@ -37,10 +37,10 @@ with col1:
37
  df_selected_cik.set_index('Year', inplace=True)
38
 
39
  sns.lineplot(data=df_selected_cik[['e_score', 's_score', 'g_score']] )
40
- plt_lp.xlabel('year')
41
- plt_lp.ylabel('score')
42
- plt_lp.legend(title='Legend', loc='upper left')
43
- st.pyplot(plt_lp)
44
 
45
  with col2:
46
  st.markdown('### ESG Word Clouds')
@@ -59,4 +59,5 @@ with col2:
59
 
60
  plt.figure(figsize=(10, 5))
61
  plt.imshow(wordcloud, interpolation='bilinear')
62
- plt.axis('off')
 
 
37
  df_selected_cik.set_index('Year', inplace=True)
38
 
39
  sns.lineplot(data=df_selected_cik[['e_score', 's_score', 'g_score']] )
40
+ plt.xlabel('year')
41
+ plt.ylabel('score')
42
+ plt.legend(title='Legend', loc='upper left')
43
+ st.pyplot(plt)
44
 
45
  with col2:
46
  st.markdown('### ESG Word Clouds')
 
59
 
60
  plt.figure(figsize=(10, 5))
61
  plt.imshow(wordcloud, interpolation='bilinear')
62
+ plt.axis('off')
63
+ st.pyplot(plt)