Spaces:
Sleeping
Sleeping
Update src/webApp.py
Browse files- 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=
|
| 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")
|