Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
j-i-l committed Feb 20, 2020
1 parent 212637e commit f410518
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyalluv/plotting.py
Expand Up @@ -205,7 +205,7 @@ def __init__(
for cluster in self.clusters[x_pos]:
# in days (same as mdates.date2num)
cluster.width = cluster.width.total_seconds()/60/60/24
cluster_widths.append(node.width)
cluster_widths.append(cluster.width)
if cluster.label_margin is not None:
_h_margin = cluster.label_margin[
0].total_seconds()/60/60/24
Expand Down

0 comments on commit f410518

Please sign in to comment.