Skip to content

Commit 9106d90

Browse files
committed
fix anno_dendrogram
1 parent b15152e commit 9106d90

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

PyComplexHeatmap/annotations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1442,7 +1442,7 @@ def _type_specific_params(self):
14421442
def plot(self, ax=None, axis=1):
14431443
if 'tree_kws' not in self.plot_kws:
14441444
self.plot_kws['tree_kws']={}
1445-
self.plot_kws["tree_kws"].setdefault(colors=self.colors)
1445+
self.plot_kws["tree_kws"].setdefault("colors",self.colors)
14461446
# inint the DendrogramPlotter class object
14471447
ax.set_axis_off()
14481448
self.dend.plot(ax=ax,axis=axis,**self.plot_kws)

0 commit comments

Comments
 (0)