saad177 commited on
Commit
ca2fd05
1 Parent(s): c14fc38

fix layout size

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -145,7 +145,7 @@ with gr.Blocks() as demo:
145
  feature_names=df.columns.tolist(),
146
  )
147
 
148
- fig2 = plt.figure(figsize=(12, 6)) # Create a new figure for SHAP plot
149
  plt.title("SHAP Waterfall Plot") # Optionally set a title for the SHAP plot
150
  plt.tight_layout()
151
  shap.waterfall_plot(
 
145
  feature_names=df.columns.tolist(),
146
  )
147
 
148
+ fig2 = plt.figure(figsize=(10, 5)) # Create a new figure for SHAP plot
149
  plt.title("SHAP Waterfall Plot") # Optionally set a title for the SHAP plot
150
  plt.tight_layout()
151
  shap.waterfall_plot(