elhamod commited on
Commit
6b76521
·
1 Parent(s): 8de8c04
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -299,11 +299,11 @@ def plot_f1_vs_features(selected_feats: List[str], max_depth: int, n_total: int,
299
  title=f"Depth vs Features (n={n_total})",
300
  template="plotly_white",
301
  height=600,
302
- margin=dict(l=40, r=10, t=60, b=80),
303
  legend=dict(orientation="h", y=-0.2),
304
  uirevision="keep-zoom"
305
  )
306
- fig_depth.update_xaxes(title_text="# of features", tickmode="array",
307
  tickvals=ks, ticktext=x_labels, tickangle=-30)
308
  y_min = max(0, np.nanmin(d_lo) if np.isfinite(np.nanmin(d_lo)) else 0)
309
  y_max = np.nanmax(d_hi) if np.isfinite(np.nanmax(d_hi)) else None
 
299
  title=f"Depth vs Features (n={n_total})",
300
  template="plotly_white",
301
  height=600,
302
+ margin=dict(l=40, r=10, t=60, b=60),
303
  legend=dict(orientation="h", y=-0.2),
304
  uirevision="keep-zoom"
305
  )
306
+ fig_depth.update_xaxes(tickmode="array",
307
  tickvals=ks, ticktext=x_labels, tickangle=-30)
308
  y_min = max(0, np.nanmin(d_lo) if np.isfinite(np.nanmin(d_lo)) else 0)
309
  y_max = np.nanmax(d_hi) if np.isfinite(np.nanmax(d_hi)) else None