Gregor Betz commited on
Commit
1b11ded
1 Parent(s): bb256f3

visibility

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -47,9 +47,10 @@ def plot_evals(model_id, plotly_mode):
47
  color_discrete_sequence=["Orange", "Gray"],
48
  template=template,
49
  error_y="acc_gain-err", hover_data=['model', "cot accuracy"],
50
- custom_data=['model', 'visibility'],
51
  width=1200, height=700)
52
 
 
53
  fig.update_traces(
54
  visible="legendonly",
55
  selector=dict(visibility=False)
 
47
  color_discrete_sequence=["Orange", "Gray"],
48
  template=template,
49
  error_y="acc_gain-err", hover_data=['model', "cot accuracy"],
50
+ custom_data=['visibility'],
51
  width=1200, height=700)
52
 
53
+ # TODO: doesn't work, needs to be fixed
54
  fig.update_traces(
55
  visible="legendonly",
56
  selector=dict(visibility=False)