Spaces:
Sleeping
Sleeping
Heatmap: Estimating the constant for calculating the height of the graph
Browse files- analyze_winscore.py +1 -0
analyze_winscore.py
CHANGED
@@ -232,6 +232,7 @@ def create_heatmap(data_matrix, original_scores,
|
|
232 |
plot_width = n_rows * cell_size + (n_rows * cell_width_border + y_axis_size if y_axis_visible else 0)
|
233 |
if plot_height == None:
|
234 |
plot_height = n_cols * cell_size + (n_cols * cell_height_border + x_axis_size if x_axis_visible else 0)
|
|
|
235 |
|
236 |
if selected_rows is not None:
|
237 |
# Select only the specified rows (models)
|
|
|
232 |
plot_width = n_rows * cell_size + (n_rows * cell_width_border + y_axis_size if y_axis_visible else 0)
|
233 |
if plot_height == None:
|
234 |
plot_height = n_cols * cell_size + (n_cols * cell_height_border + x_axis_size if x_axis_visible else 0)
|
235 |
+
plot_height = n_cols * cell_size + (242 if x_axis_visible else 0)
|
236 |
|
237 |
if selected_rows is not None:
|
238 |
# Select only the specified rows (models)
|