Open higor-gomes93 opened 3 years ago
also noticed this in my plots. adding dropdown menus and main/submain text makes the margins larger, but removing them doesn't get rid of it.
@bthieurmel any tips for this? here's a quick reprex:
nodes <- data.frame(id = 1:3)
edges <- data.frame(from = c(1,2), to = c(1,3))
vn <- visNetwork(nodes, edges, background = "black")
save_path <- tempfile(fileext = ".html")
visNetwork::visSave(vn,
file = save_path,
selfcontained = TRUE,
background = "white")
browseURL(save_path)
Adding visIgraphLayout(type = "full")
doesn't seem to alleviate the issue:
vn <- vn |> visNetwork::visIgraphLayout(type = "full")
Thanks in advance!
Hello!
I'm getting this white margin in my plot:
Any ideas about what might be happening? Already checked parameters such as width and height.