Xmaster6y commited on
Commit
1da6233
1 Parent(s): 8694e50

smaller colorbar

Browse files
Files changed (1) hide show
  1. src/visualisation.py +1 -1
src/visualisation.py CHANGED
@@ -41,7 +41,7 @@ def render_heatmap(
41
  color = COLOR_MAP(norm(heatmap[square_index]))
42
  color = (*color[:3], ALPHA)
43
  color_dict[square_index] = matplotlib.colors.to_hex(color, keep_alpha=True)
44
- fig = plt.figure(figsize=(6, 2))
45
  ax = plt.gca()
46
  ax.axis("off")
47
  fig.colorbar(
 
41
  color = COLOR_MAP(norm(heatmap[square_index]))
42
  color = (*color[:3], ALPHA)
43
  color_dict[square_index] = matplotlib.colors.to_hex(color, keep_alpha=True)
44
+ fig = plt.figure(figsize=(6, 1))
45
  ax = plt.gca()
46
  ax.axis("off")
47
  fig.colorbar(