kadavesh commited on
Commit
a84cafc
1 Parent(s): b3457f8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -49,7 +49,7 @@ def generate_heatmap(protein_sequence, start_pos=1, end_pos=None):
49
  heatmap[i, position - start_pos] = log_prob_mt - log_prob_wt
50
 
51
  # Visualize the heatmap
52
- plt.figure(figsize=(15, 5))
53
  plt.imshow(heatmap, cmap="viridis_r", aspect="auto")
54
  plt.xticks(range(end_pos - start_pos + 1), list(protein_sequence[start_pos-1:end_pos]))
55
  plt.yticks(range(20), amino_acids)
 
49
  heatmap[i, position - start_pos] = log_prob_mt - log_prob_wt
50
 
51
  # Visualize the heatmap
52
+ plt.figure(figsize=(75, 25))
53
  plt.imshow(heatmap, cmap="viridis_r", aspect="auto")
54
  plt.xticks(range(end_pos - start_pos + 1), list(protein_sequence[start_pos-1:end_pos]))
55
  plt.yticks(range(20), amino_acids)