Skip to content

plot_dendro renders with the graph all squashed to the right #1391

Open
@ChristelSwift

Description

@ChristelSwift

when i run this code:

library(plotly)

set.seed(3)
N <- 50
df <- data.frame(x = rnorm(N), y = rnorm(N))
rownames(df) <- paste0("p_", 1:N) 

dend <- as.dendrogram(hclust(dist(df)))
plot_dendro(dend)

i end up with the dendrogram all squashed to the right:

image

Any idea how i can force it to fill in the entire graph viewer?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions