Skip to content

Commit

Permalink
Hide row dendrogram axis ticks for plotly
Browse files Browse the repository at this point in the history
To reproduce the issue, run:

```
heatmaply::heatmaply(mtcars, dendrogram = "row", plot_method = "plotly")
```

Notice that the row dendrogram has axis ticks at the bottom.
  • Loading branch information
siddharthab authored Apr 12, 2024
1 parent 81bae36 commit 7dbb7ea
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/plots.R
Original file line number Diff line number Diff line change
Expand Up @@ -357,12 +357,14 @@ plotly_dend <- function(dend,
title = "",
range = c(0, max(segs$y)),
linecolor = "#ffffff",
showticklabels = FALSE,
showgrid = FALSE
)
axis2 <- list(
title = "",
range = c(0, lab_max),
linecolor = "#ffffff",
showticklabels = FALSE,
showgrid = FALSE
)

Expand Down

0 comments on commit 7dbb7ea

Please sign in to comment.