Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -67,6 +67,7 @@ if query:
|
|
67 |
# # plot the treemap using matplotlib
|
68 |
plt.axis('off')
|
69 |
fig = plt.gcf()
|
|
|
70 |
# # display the treemap in Streamlit
|
71 |
st.pyplot(fig)
|
72 |
plt.clf()
|
@@ -102,6 +103,7 @@ if query:
|
|
102 |
|
103 |
plt.axis('off')
|
104 |
fig2 = plt.gcf()
|
|
|
105 |
# plt.show()
|
106 |
#
|
107 |
# # display the treemap in Streamlit
|
|
|
67 |
# # plot the treemap using matplotlib
|
68 |
plt.axis('off')
|
69 |
fig = plt.gcf()
|
70 |
+
fig.patch.set_facecolor('#EBF5FB')
|
71 |
# # display the treemap in Streamlit
|
72 |
st.pyplot(fig)
|
73 |
plt.clf()
|
|
|
103 |
|
104 |
plt.axis('off')
|
105 |
fig2 = plt.gcf()
|
106 |
+
fig2.patch.set_facecolor('#EBF5FB')
|
107 |
# plt.show()
|
108 |
#
|
109 |
# # display the treemap in Streamlit
|