Rotating dendrograms¶
idendrogram dendrograms can be rotated by simply passing orientation
parameter when visualizing them.
In [3]:
Copied!
dendrogram = idd.create_dendrogram()
to_altair(
dendrogram=dendrogram, height=200, width=629,
orientation="top"
)
dendrogram = idd.create_dendrogram()
to_altair(
dendrogram=dendrogram, height=200, width=629,
orientation="top"
)
Out[3]:
In [4]:
Copied!
to_altair(
dendrogram=dendrogram, height=200, width=629,
orientation="bottom"
)
to_altair(
dendrogram=dendrogram, height=200, width=629,
orientation="bottom"
)
Out[4]:
In [5]:
Copied!
to_altair(
dendrogram=dendrogram, height=200, width=629,
orientation="left"
)
to_altair(
dendrogram=dendrogram, height=200, width=629,
orientation="left"
)
Out[5]:
In [6]:
Copied!
to_altair(
dendrogram=dendrogram, height=200, width=629,
orientation="right"
)
to_altair(
dendrogram=dendrogram, height=200, width=629,
orientation="right"
)
Out[6]: