Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
st.pyplot(
|
| 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)
|