Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update
Browse files
app.py
CHANGED
@@ -344,7 +344,7 @@ def plot_average_scores(df_filtered: pd.DataFrame) -> go.Figure:
|
|
344 |
|
345 |
fig = go.Figure()
|
346 |
for i, ((name, n_shot), row) in enumerate(df.iterrows()):
|
347 |
-
visible = True if i <
|
348 |
fig.add_trace(
|
349 |
go.Scatterpolar(
|
350 |
r=row.values,
|
|
|
344 |
|
345 |
fig = go.Figure()
|
346 |
for i, ((name, n_shot), row) in enumerate(df.iterrows()):
|
347 |
+
visible = True if i < 2 else "legendonly" # Display only the first 2 models
|
348 |
fig.add_trace(
|
349 |
go.Scatterpolar(
|
350 |
r=row.values,
|