Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Avoid bug with radar plot
Browse files- src/results.py +5 -0
src/results.py
CHANGED
@@ -196,6 +196,11 @@ def plot_results(task, *dfs):
|
|
196 |
range_r=[0, 1],
|
197 |
color_discrete_sequence=["#FF9D00", "#32343D"],
|
198 |
)
|
|
|
|
|
|
|
|
|
|
|
199 |
return fig_1, fig_2
|
200 |
else:
|
201 |
return None, None
|
|
|
196 |
range_r=[0, 1],
|
197 |
color_discrete_sequence=["#FF9D00", "#32343D"],
|
198 |
)
|
199 |
+
# Avoid bug with radar:
|
200 |
+
fig_2.update_layout(
|
201 |
+
title_text="",
|
202 |
+
title_font_size=1,
|
203 |
+
)
|
204 |
return fig_1, fig_2
|
205 |
else:
|
206 |
return None, None
|