Hack90 commited on
Commit
b92c9d2
·
verified ·
1 Parent(s): df8a5ee

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +1 -1
utils.py CHANGED
@@ -80,7 +80,7 @@ def plot_distrobutions(dna_sequences_grouped, labels, basepair, mapping=mapping_
80
  y = cumulative_coords[:, 1][basepair]
81
  virus_y.append(y)
82
  count_bins, bins = np.histogram(virus_y)
83
- ax.stairs(count_bins, bins , color= color, label[count])
84
  # Only show unique labels in the legend
85
  handles, labels = ax.get_legend_handles_labels()
86
  by_label = dict(zip(labels, handles))
 
80
  y = cumulative_coords[:, 1][basepair]
81
  virus_y.append(y)
82
  count_bins, bins = np.histogram(virus_y)
83
+ ax.stairs(count_bins, bins , color= color, label=labels[count])
84
  # Only show unique labels in the legend
85
  handles, labels = ax.get_legend_handles_labels()
86
  by_label = dict(zip(labels, handles))