Flux9665 commited on
Commit
7a5b0a0
·
verified ·
1 Parent(s): 6aa327d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -45,7 +45,7 @@ def visualize_one_hot_encoded_sequence(tensor, sentence, col_labels, cmap='BuGn'
45
  ax.set_yticks(np.arange(-0.5, tensor.shape[0], 1), minor=True)
46
 
47
  # Turn on the grid for minor ticks (i.e., between the cells)
48
- ax.grid(which='minor', color='darkgrey', linestyle='-', linewidth=2)
49
  ax.tick_params(which='minor', size=0) # Hide minor tick marks
50
 
51
  # Display the heatmap
 
45
  ax.set_yticks(np.arange(-0.5, tensor.shape[0], 1), minor=True)
46
 
47
  # Turn on the grid for minor ticks (i.e., between the cells)
48
+ ax.grid(which='minor', color='darkgrey', linestyle='-', linewidth=1)
49
  ax.tick_params(which='minor', size=0) # Hide minor tick marks
50
 
51
  # Display the heatmap