Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -108,7 +108,7 @@ def plot_correlation(df, column):
|
|
108 |
plt.title(f"Correlation Plot of {column}")
|
109 |
return plt.gcf() # Return the matplotlib figure
|
110 |
|
111 |
-
|
112 |
def plot_correlation_matrix(df):
|
113 |
# Filter for numeric columns, if the DataFrame has non-numeric columns
|
114 |
numeric_df = df.select_dtypes(include=['number'])
|
|
|
108 |
plt.title(f"Correlation Plot of {column}")
|
109 |
return plt.gcf() # Return the matplotlib figure
|
110 |
|
111 |
+
st.set_option('deprecation.showPyplotGlobalUse', False)
|
112 |
def plot_correlation_matrix(df):
|
113 |
# Filter for numeric columns, if the DataFrame has non-numeric columns
|
114 |
numeric_df = df.select_dtypes(include=['number'])
|