Spaces:
Running
Running
Commit
·
e4db665
1
Parent(s):
7ff36f7
Update app.py
Browse files
app.py
CHANGED
@@ -103,7 +103,9 @@ def update_data(
|
|
103 |
param_compare_results_df = param_compare_results_df.drop("Samples / sec", "device", "ms / sample")
|
104 |
chart = plot_acc_param(param_compare_results_df)
|
105 |
|
106 |
-
|
|
|
|
|
107 |
output_df = param_compare_results_df
|
108 |
|
109 |
# Rate
|
|
|
103 |
param_compare_results_df = param_compare_results_df.drop("Samples / sec", "device", "ms / sample")
|
104 |
chart = plot_acc_param(param_compare_results_df)
|
105 |
|
106 |
+
x_max = param_compare_results_df["Parameters (M)"].quantile(0.9)
|
107 |
+
x_min = param_compare_results_df["Parameters (M)"].quantile(0.1)
|
108 |
+
chart.layer[0].encoding.x.scale = alt.Scale(domain=[x_min, x_max])
|
109 |
output_df = param_compare_results_df
|
110 |
|
111 |
# Rate
|