eduagarcia commited on
Commit
0e84464
1 Parent(s): 246795a

Update src/tools/plots.py

Browse files
Files changed (1) hide show
  1. src/tools/plots.py +4 -3
src/tools/plots.py CHANGED
@@ -175,9 +175,10 @@ def create_lat_score_mem_plot_obj(leaderboard_df):
175
  copy_df["size"] = copy_df["size"].apply(lambda x: 0.8 if 0.8 <= x < 2 else x)
176
  copy_df["size"] = copy_df["size"].apply(lambda x: 1.5 if 2 <= x < 5 else x)
177
  copy_df["size"] = copy_df["size"].apply(lambda x: 2.0 if 5 <= x < 10 else x)
178
- copy_df["size"] = copy_df["size"].apply(lambda x: 3.0 if 10 <= x < 20 else x)
179
- copy_df["size"] = copy_df["size"].apply(lambda x: 4.5 if 20 <= x < 40 else x)
180
- copy_df["size"] = copy_df["size"].apply(lambda x: 7.0 if x >= 40 else x)
 
181
 
182
  fig = px.scatter(
183
  copy_df,
 
175
  copy_df["size"] = copy_df["size"].apply(lambda x: 0.8 if 0.8 <= x < 2 else x)
176
  copy_df["size"] = copy_df["size"].apply(lambda x: 1.5 if 2 <= x < 5 else x)
177
  copy_df["size"] = copy_df["size"].apply(lambda x: 2.0 if 5 <= x < 10 else x)
178
+ copy_df["size"] = copy_df["size"].apply(lambda x: 3.0 if 10 <= x < 35 else x)
179
+ copy_df["size"] = copy_df["size"].apply(lambda x: 4.0 if 35 <= x < 60 else x)
180
+ copy_df["size"] = copy_df["size"].apply(lambda x: 6.0 if 60 <= x < 90 else x)
181
+ copy_df["size"] = copy_df["size"].apply(lambda x: 8.0 if x >= 90 else x)
182
 
183
  fig = px.scatter(
184
  copy_df,