Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Commit
·
02700b6
1
Parent(s):
e872e8a
Added y-axis range to make graph more aesthetically pleasing
Browse filesrange was set to automatic which puts horizontal line at the top, incorrectly implying that humans are peak intellectual performance.

New graph has 0 to 100 range

src/display_models/plot_results.py
CHANGED
@@ -184,6 +184,9 @@ def create_metric_plot_obj(
|
|
184 |
)
|
185 |
)
|
186 |
|
|
|
|
|
|
|
187 |
# Create a dictionary to hold the color mapping for each metric
|
188 |
metric_color_mapping = {}
|
189 |
|
|
|
184 |
)
|
185 |
)
|
186 |
|
187 |
+
# Update the range of the y-axis
|
188 |
+
fig.update_layout(yaxis_range=[0, 100])
|
189 |
+
|
190 |
# Create a dictionary to hold the color mapping for each metric
|
191 |
metric_color_mapping = {}
|
192 |
|