Skip to content

Commit

Permalink
Update plot.py to pass subtree to get_lines
Browse files Browse the repository at this point in the history
Change needed to allow custom coloring of the dendrogram subtrees.
  • Loading branch information
tonywong94 authored May 17, 2020
1 parent 7f94148 commit df3b668
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion astrodendro/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def plot_tree(self, ax, structure=None, subtree=True, autoscale=True, **kwargs):
"""

# Get the lines for the dendrogram
lines = self.get_lines(structures=structure, **kwargs)
lines = self.get_lines(structures=structure, subtree=subtree, **kwargs)

# Add the lines to the axes
ax.add_collection(lines)
Expand Down

0 comments on commit df3b668

Please sign in to comment.