Spaces:
Running
Running
Update app.py
Browse files
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=(
|
| 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")
|