saad177 commited on
Commit
ebc21cc
1 Parent(s): 6021f49

fix layout size

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -148,7 +148,7 @@ with gr.Blocks() as demo:
148
  feature_names=["age", "bmi", "hba1c", "glucose"],
149
  )
150
 
151
- fig2 = plt.figure(figsize=(3, 1)) # Create a new figure for SHAP plot
152
  fig2.tight_layout()
153
  plt.gca().set_position((0, 0, 1, 1))
154
  plt.title("SHAP Waterfall Plot") # Optionally set a title for the SHAP plot
 
148
  feature_names=["age", "bmi", "hba1c", "glucose"],
149
  )
150
 
151
+ fig2 = plt.figure(figsize=(3, 2)) # Create a new figure for SHAP plot
152
  fig2.tight_layout()
153
  plt.gca().set_position((0, 0, 1, 1))
154
  plt.title("SHAP Waterfall Plot") # Optionally set a title for the SHAP plot