saherPervaiz commited on
Commit
9366c38
·
verified ·
1 Parent(s): 1986e1a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -154,7 +154,7 @@ if uploaded_file is not None:
154
  # Download correlation heatmap
155
  st.subheader("Correlation Heatmap")
156
  correlation_matrix = df_cleaned.select_dtypes(include=['number']).corr()
157
- fig, ax = plt.subplots(figsize=(8, 6))
158
  sns.heatmap(correlation_matrix, annot=True, fmt=".2f", cmap="coolwarm", ax=ax)
159
  st.pyplot(fig)
160
  fig.savefig("/tmp/correlation_heatmap.png")
 
154
  # Download correlation heatmap
155
  st.subheader("Correlation Heatmap")
156
  correlation_matrix = df_cleaned.select_dtypes(include=['number']).corr()
157
+ fig, ax = plt.subplots(figsize=(10, 8))
158
  sns.heatmap(correlation_matrix, annot=True, fmt=".2f", cmap="coolwarm", ax=ax)
159
  st.pyplot(fig)
160
  fig.savefig("/tmp/correlation_heatmap.png")