Spaces:
Sleeping
Sleeping
Update utils.py
Browse files
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))
|