idolezal commited on
Commit
a0b7b07
·
1 Parent(s): 2070688

Heatmap: Estimating the constant for calculating the height of the graph

Browse files
Files changed (1) hide show
  1. analyze_winscore.py +1 -1
analyze_winscore.py CHANGED
@@ -233,7 +233,7 @@ def create_heatmap(data_matrix, original_scores,
233
  plot_width = n_rows * cell_size + (n_rows * cell_width_border + y_axis_size if y_axis_visible else 0)
234
  if plot_height == None:
235
  plot_height = n_cols * cell_size + (n_cols * cell_height_border + x_axis_size if x_axis_visible else 0)
236
- plot_height = n_cols * cell_size + (242 + 37 if x_axis_visible else 0)
237
 
238
  if selected_rows is not None:
239
  # Select only the specified rows (models)
 
233
  plot_width = n_rows * cell_size + (n_rows * cell_width_border + y_axis_size if y_axis_visible else 0)
234
  if plot_height == None:
235
  plot_height = n_cols * cell_size + (n_cols * cell_height_border + x_axis_size if x_axis_visible else 0)
236
+ plot_height = n_cols * cell_size + (242 + 36 if x_axis_visible else 0)
237
 
238
  if selected_rows is not None:
239
  # Select only the specified rows (models)