@@ -606,7 +606,7 @@ def linkage(y, method='single', metric='euclidean'):
606
606
for full descriptions.
607
607
metric : str or function, optional
608
608
The distance metric to use. See the ``distance.pdist`` function for a
609
- list of valid distance metrics. The customized distance can also be
609
+ list of valid distance metrics. The customized distance can also be
610
610
used. See the ``distance.pdist`` function for details.
611
611
612
612
Returns
@@ -1680,7 +1680,7 @@ def _plot_dendrogram(icoords, dcoords, ivl, p, n, mh, orientation,
1680
1680
map (lambda lbl : lbl .set_size (leaf_font_size ), lbls )
1681
1681
else :
1682
1682
leaf_fs = float (_get_tick_text_size (len (ivl )))
1683
- map (lambda lbl : lbl .set_rotation (leaf_fs ), lbls )
1683
+ map (lambda lbl : lbl .set_size (leaf_fs ), lbls )
1684
1684
1685
1685
# Make the tick marks invisible because they cover up the links
1686
1686
for line in ax .get_xticklines ():
@@ -1708,7 +1708,7 @@ def _plot_dendrogram(icoords, dcoords, ivl, p, n, mh, orientation,
1708
1708
map (lambda lbl : lbl .set_size (leaf_font_size ), lbls )
1709
1709
else :
1710
1710
leaf_fs = float (_get_tick_text_size (p ))
1711
- map (lambda lbl : lbl .set_rotation (leaf_fs ), lbls )
1711
+ map (lambda lbl : lbl .set_size (leaf_fs ), lbls )
1712
1712
1713
1713
ax .xaxis .set_ticks_position ('top' )
1714
1714
# Make the tick marks invisible because they cover up the links
0 commit comments