idolezal commited on
Commit
f70bc66
·
1 Parent(s): c6fe8ae

Heatmap: Customizing attributes for figure()

Browse files
Files changed (1) hide show
  1. analyze_winscore.py +7 -4
analyze_winscore.py CHANGED
@@ -223,10 +223,13 @@ def create_heatmap(data_matrix, original_scores, selected_rows=None, hide_scores
223
 
224
  # Set up the figure with tasks as x-axis and models as y-axis
225
  p = figure(
226
- width=plot_width, height=plot_height,
227
- x_range=list(data_matrix.index), y_range=list(data_matrix.columns),
228
- toolbar_location="below", tools="pan,wheel_zoom,box_zoom,reset,save",
229
- x_axis_label="Model", y_axis_label="Category"
 
 
 
230
  )
231
 
232
  # Create the color mapper for the heatmap
 
223
 
224
  # Set up the figure with tasks as x-axis and models as y-axis
225
  p = figure(
226
+ #width=plot_width,
227
+ height=plot_height,
228
+ x_range=list(data_matrix.index),
229
+ y_range=list(data_matrix.columns),
230
+ toolbar_location="below",
231
+ tools="pan,wheel_zoom,box_zoom,reset,save",
232
+ #x_axis_label="Model", y_axis_label="Task"
233
  )
234
 
235
  # Create the color mapper for the heatmap