Skip to content

Commit cbbd3d4

Browse files
authored
chore: Remove call from layout_on_sphere() (#2053)
1 parent 1ede0cf commit cbbd3d4

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

R/layout.R

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1057,10 +1057,8 @@ layout.grid.3d <- function(graph, width = 0, height = 0) {
10571057
#' @export
10581058
#' @family graph layouts
10591059
layout_on_sphere <- function(graph) {
1060-
ensure_igraph(graph)
1061-
1062-
on.exit(.Call(R_igraph_finalizer))
1063-
.Call(R_igraph_layout_sphere, graph)
1060+
# Use the _impl function
1061+
layout_sphere_impl(graph)
10641062
}
10651063

10661064

0 commit comments

Comments
 (0)