sherzod-hakimov commited on
Commit
4f18cc8
1 Parent(s): 35378f6

plotly fix

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. src/plot_utils.py +1 -2
app.py CHANGED
@@ -17,7 +17,7 @@ def select_prev_df(name):
17
  return prev_df
18
 
19
  # For Plots
20
- global plot_df, OPEN_MODELS, CLOSED_MODELS, SHOW_ALL, SHOW_NAMES
21
  plot_df = primary_leaderboard_df[0]
22
  MODELS = list(plot_df[list(plot_df.columns)[0]].unique())
23
  OPEN_MODELS, CLOSED_MODELS = split_models(MODELS)
 
17
  return prev_df
18
 
19
  # For Plots
20
+ global plot_df, OPEN_MODELS, CLOSED_MODELS
21
  plot_df = primary_leaderboard_df[0]
22
  MODELS = list(plot_df[list(plot_df.columns)[0]].unique())
23
  OPEN_MODELS, CLOSED_MODELS = split_models(MODELS)
src/plot_utils.py CHANGED
@@ -42,8 +42,7 @@ def plotly_plot(df:pd.DataFrame, LIST:list, ALL:list, NAMES:list):
42
  xaxis_title='% Played',
43
  yaxis_title='Quality Score',
44
  title='Overview of benchmark results',
45
- height=1000,
46
- width=1500
47
  )
48
 
49
  fig.update_xaxes(range=[-5, 105])
 
42
  xaxis_title='% Played',
43
  yaxis_title='Quality Score',
44
  title='Overview of benchmark results',
45
+ height=1000
 
46
  )
47
 
48
  fig.update_xaxes(range=[-5, 105])