Skip to content

Commit 6d18191

Browse files
committed
Updated use_column_width parameter with use_container_width parameter
1 parent 26363ee commit 6d18191

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def redirect(url):
103103
if st.sidebar.button('SHAP Global Plot'):
104104

105105
shap_global_plot_path = "Interpretability_reports/Shap_interpretability.png"
106-
st.image(shap_global_plot_path, use_column_width=True)
106+
st.image(shap_global_plot_path, use_container_width=True)
107107

108108

109109
# SHAP Local Plot
@@ -396,10 +396,10 @@ def callback2():
396396

397397
# Prediction vs Actual Scatter Plot
398398
predictions_scatter_plot_path = "CML_Reports/predictions_scatter_plot.png"
399-
st.image(predictions_scatter_plot_path, caption="Predictions vs Actuals", use_column_width=True)
399+
st.image(predictions_scatter_plot_path, caption="Predictions vs Actuals", use_container_width=True)
400400

401401
# Residuals Plot
402402
residuals_plot_path = "CML_Reports/residuals_plot.png"
403-
st.image(residuals_plot_path, caption="Residuals Plot", use_column_width=True)
403+
st.image(residuals_plot_path, caption="Residuals Plot", use_container_width=True)
404404

405405

0 commit comments

Comments
 (0)