'Plotly screenshot for big graph screenshots
actual output which is cluttered But When I click on the camera icon of plotly , I get the whole screenshot which I wanted . I have attached the screenshot of it . But when I use orca or save_image , I get image which is overlapped. I am trying to do this in R. Is there any suggestions? I have attached both the screenshots.
fig <- fig %>% layout(title = NULL,annotations = list(text = " ", showarrow = F,x = 0.5 , y = 1.05,
xref = "paper",
yref = "paper",
xanchor = "center",
yanchor = "top" ),showlegend = F)
dload$modelresult<-fig
# html <- "dtable.html"
# saveWidget(fig, html)
# working_direct<-getwd()
# final_dest_img<-paste0(work[enter image description here][1]ing_direct,"/d1.png")
# webshot(html, final_dest_img)
save_image(fig, file = "C:/Users/User/Downloads/image4.png")
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|