sbrandeis HF staff commited on
Commit
8cecaef
1 Parent(s): c380117
Files changed (1) hide show
  1. heatmap.py +1 -1
heatmap.py CHANGED
@@ -33,7 +33,7 @@ def plot(heatmap: np.ndarray):
33
  fig, ax = plt.subplots()
34
 
35
  ax.imshow(heatmap, cmap="Greens")
36
- ax.set_xbound(0, 6)
37
  ax.set_title("Recent activity")
38
  ax.set_yticklabels(["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"])
39
  return fig, ax
 
33
  fig, ax = plt.subplots()
34
 
35
  ax.imshow(heatmap, cmap="Greens")
36
+ ax.set_ylim(0, 6)
37
  ax.set_title("Recent activity")
38
  ax.set_yticklabels(["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"])
39
  return fig, ax