Terry Zhuo
commited on
Commit
·
043c8d6
1
Parent(s):
f59915f
fix upper limit
Browse files- src/tools/plots.py +1 -2
src/tools/plots.py
CHANGED
@@ -43,8 +43,7 @@ def plot_solve_rate(df, task, rows=30, cols=38):
|
|
43 |
else:
|
44 |
hover_text[i, j] = "NaN"
|
45 |
|
46 |
-
|
47 |
-
upper_solve_rate = round(np.count_nonzero(~masked_values.mask) / n * 100, 2)
|
48 |
|
49 |
fig = go.Figure(data=go.Heatmap(
|
50 |
z=masked_values,
|
|
|
43 |
else:
|
44 |
hover_text[i, j] = "NaN"
|
45 |
|
46 |
+
upper_solve_rate = round(np.count_nonzero(values) / n * 100, 2)
|
|
|
47 |
|
48 |
fig = go.Figure(data=go.Heatmap(
|
49 |
z=masked_values,
|