Title: Plotly Graph Download Size Issue · Issue #1556 · plotly/plotly.R · GitHub
Open Graph Title: Plotly Graph Download Size Issue · Issue #1556 · plotly/plotly.R
X Title: Plotly Graph Download Size Issue · Issue #1556 · plotly/plotly.R
Description: I am creating a Shiny app using Plotly and am seeing some weird behaviour when it comes to downloading/exporting the graph. The code below shows the gist of the app. What happens is, when clicking on the download image button it seems th...
Open Graph Description: I am creating a Shiny app using Plotly and am seeing some weird behaviour when it comes to downloading/exporting the graph. The code below shows the gist of the app. What happens is, when clicking ...
X Description: I am creating a Shiny app using Plotly and am seeing some weird behaviour when it comes to downloading/exporting the graph. The code below shows the gist of the app. What happens is, when clicking ...
Opengraph URL: https://github.com/plotly/plotly.R/issues/1556
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Plotly Graph Download Size Issue","articleBody":"\r\n\r\n\r\nI am creating a Shiny app using Plotly and am seeing some weird behaviour when it comes to downloading/exporting the graph. The code below shows the gist of the app. What happens is, when clicking on the download image button it seems that the height/width don't accurately represent the values. However, if I simply press minimize/maximize on the browser window, the next time one downloads the image it fixes everything. I have also attached two images showing this behaviour. \r\n\r\n```r\r\nServer.R\r\n\r\n p \u003c- p +\r\n labs(x = \"\", y = ylabel, title = title2) + \r\n theme_minimal() \r\n\r\n ggplotly(p, tooltip = \"text\") %>%\r\n layout(\r\n legend = list(\r\n orientation = \"h\",\r\n xanchor = \"center\",\r\n x = 0.5,\r\n y = -0.2\r\n ),\r\n title = list(font = list(size = 17.5)),\r\n annotations = list(x = 1, y = 1.05, text = \"some text here\",\r\n showarrow = F, xref='paper', yref='paper', \r\n xanchor='right', yanchor='auto', xshift=0, yshift=0,\r\n font=list(size=12, color=\"#b22f16\"))\r\n ) %>%\r\n style(legendgroup = NULL) %>%\r\n config(displaylogo = FALSE,\r\n modeBarButtonsToRemove = list('lasso2d'))\r\n```\r\n\r\n```r\r\nUI.R\r\n fluidRow(\r\n plotlyOutput(\"output\", height = 600) %>% withSpinner(color =\r\n \"#003951\", type = 4))\r\n\r\n```\r\n\r\n \u003c- Graph that one sees on the screen before minimizing/maximizing window.\r\n\r\n\r\n \u003c- Graph that one sees on the screen after minimizing/maximizing window.\r\n","author":{"url":"https://github.com/keeganmcbride","@type":"Person","name":"keeganmcbride"},"datePublished":"2019-06-26T10:53:23Z","url":"https://github.com/plotly/plotly.R/issues/1556"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:1c24e6a2-d453-4c30-4cca-ce94354691f3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8AD2:21AC3F:312E25B:3E447FE:6B01AFC5 |
| html-safe-nonce | 8b1babc01ef3c02ae8037526b39c65b6ce16e741165653ba829c95e802ce46d4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QUQyOjIxQUMzRjozMTJFMjVCOjNFNDQ3RkU6NkIwMUFGQzUiLCJ2aXNpdG9yX2lkIjoiMjI1NDE1ODAxMDIyNDA2MjQwNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | eb9bcae4fc39aef59c864720f8286a2a894533bfd7edf0791d2b8aecf6af0f94 |
| hovercard-subject-tag | issue:460900177 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/plotly/plotly.R/1556/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3548e490307bece5a4679040e1163a03ae3cfcd01312a57d8fa8000f8d2c24eb/plotly/plotly.R/issues/1556 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3548e490307bece5a4679040e1163a03ae3cfcd01312a57d8fa8000f8d2c24eb/plotly/plotly.R/issues/1556 |
| og:image:alt | I am creating a Shiny app using Plotly and am seeing some weird behaviour when it comes to downloading/exporting the graph. The code below shows the gist of the app. What happens is, when clicking ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | keeganmcbride |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/plotly/plotly.R git https://github.com/plotly/plotly.R.git |
| octolytics-dimension-user_id | 5997976 |
| octolytics-dimension-user_login | plotly |
| octolytics-dimension-repository_id | 14579179 |
| octolytics-dimension-repository_nwo | plotly/plotly.R |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 14579179 |
| octolytics-dimension-repository_network_root_nwo | plotly/plotly.R |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width