IGPTeam4 commited on
Commit
73145aa
·
verified ·
1 Parent(s): 87eff50

Update src/webApp.py

Browse files
Files changed (1) hide show
  1. src/webApp.py +2 -1
src/webApp.py CHANGED
@@ -240,11 +240,12 @@ def shap_bar_chart(shap_values, feature_names):
240
  textposition="outside"
241
  ))
242
  fig.update_layout(
 
243
  title="Feature Impact (SHAP)",
244
  xaxis_title="SHAP Impact (positive = pushes toward Suspicious)",
245
  yaxis_title="",
246
  height=300,
247
- margin=dict(t=50, b=40, l=10, r=80),
248
  plot_bgcolor="rgba(0,0,0,0)",
249
  paper_bgcolor="rgba(0,0,0,0)",
250
  font=dict(color="white")
 
240
  textposition="outside"
241
  ))
242
  fig.update_layout(
243
+ fig.update_layout(
244
  title="Feature Impact (SHAP)",
245
  xaxis_title="SHAP Impact (positive = pushes toward Suspicious)",
246
  yaxis_title="",
247
  height=300,
248
+ margin=dict(t=50, b=40, l=120, r=120),
249
  plot_bgcolor="rgba(0,0,0,0)",
250
  paper_bgcolor="rgba(0,0,0,0)",
251
  font=dict(color="white")