ardifarizky commited on
Commit
a9c44db
1 Parent(s): 44ff538

Update eda.py

Browse files
Files changed (1) hide show
  1. eda.py +2 -2
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
- plt.show()
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))