bdendro.set_axes function¶
-
bdendro.set_axes(figure, dendrogram, labels=None, vertical=True)[source]¶ Set x and y axes to be appropriate for a dendrogram.
- Parameters
figure (bokeh.models.plots.Plot) – Figure whose axes are set.
dendrogram (bokeh.models.renderer.GraphRenderer) – Renderer returned by
bdendro.dendrogram_rendererfunction.labels (list[str] or None, optional) – Labels of leaves. If
None, indices of leaves are used.vertical (bool, optional) – If
True, the height direction of a dendrogram is the y direction. IfFalse, it is the x direction.