Spaces:
Runtime error
Runtime error
Commit
•
a9c44db
1
Parent(s):
44ff538
Update eda.py
Browse files
eda.py
CHANGED
@@ -84,7 +84,7 @@ def run():
|
|
84 |
|
85 |
plt.tight_layout()
|
86 |
|
87 |
-
st.pyplot()
|
88 |
|
89 |
plt.figure(figsize=(12, 6))
|
90 |
sns.countplot(data=d, x='market_segment', palette='Set3')
|
@@ -94,7 +94,7 @@ def run():
|
|
94 |
plt.xticks(rotation=45, ha='right')
|
95 |
plt.tight_layout()
|
96 |
|
97 |
-
|
98 |
|
99 |
# create a count plot for distribution channels
|
100 |
plt.figure(figsize=(10, 6))
|
|
|
84 |
|
85 |
plt.tight_layout()
|
86 |
|
87 |
+
st.pyplot(fig)
|
88 |
|
89 |
plt.figure(figsize=(12, 6))
|
90 |
sns.countplot(data=d, x='market_segment', palette='Set3')
|
|
|
94 |
plt.xticks(rotation=45, ha='right')
|
95 |
plt.tight_layout()
|
96 |
|
97 |
+
st.pyplot()
|
98 |
|
99 |
# create a count plot for distribution channels
|
100 |
plt.figure(figsize=(10, 6))
|