Skip to content

Commit

Permalink
Replace deprecated functions
Browse files Browse the repository at this point in the history
  • Loading branch information
ms609 committed Oct 5, 2023
1 parent ade3267 commit 932f31d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inst/treespace/app.R
Original file line number Diff line number Diff line change
Expand Up @@ -1362,9 +1362,9 @@ server <- function(input, output, session) {
cl <- clusterings()
proj <- mapping()
withProgress(message = "Drawing 3D plot", {
rgl::rgl.open(useNULL = TRUE)
rgl::open3d(useNULL = TRUE)
incProgress(0.1)
rgl::rgl.bg(color = "white")
rgl::bg3d(color = "white")
rgl::plot3d(proj[, 1], proj[, 2], proj[, 3],
aspect = 1, # Preserve aspect ratio - do not distort distances
axes = FALSE, # Dimensions are meaningless
Expand Down

0 comments on commit 932f31d

Please sign in to comment.