diff --git a/R/plot.R b/R/plot.R index d77c6b5327..8c8ccc6e50 100644 --- a/R/plot.R +++ b/R/plot.R @@ -1623,7 +1623,15 @@ rglplot.igraph <- function(x, ...) { layout <- cbind(layout, 0) } if (rescale) { - layout <- norm_coords(layout, -1, 1, -1, 1, -1, 1) + layout <- norm_coords( + layout, + xmin = -1, + xmax = 1, + ymin = -1, + ymax = 1, + zmin = -1, + zmax = 1 + ) } # add the edges, the loops are handled separately