Title: ggplotly doesn't respect legend.position from theme() · Issue #2187 · plotly/plotly.R · GitHub
Open Graph Title: ggplotly doesn't respect legend.position from theme() · Issue #2187 · plotly/plotly.R
X Title: ggplotly doesn't respect legend.position from theme() · Issue #2187 · plotly/plotly.R
Description: The legend position for plots produced with ggplotly() doesn't reflect the position specified in ggplot, e.g. theme(legend.positon="bottom"). on 2022-09-22 this issue is visible on the plotly docs site entry for Change the legend positio...
Open Graph Description: The legend position for plots produced with ggplotly() doesn't reflect the position specified in ggplot, e.g. theme(legend.positon="bottom"). on 2022-09-22 this issue is visible on the plotly docs ...
X Description: The legend position for plots produced with ggplotly() doesn't reflect the position specified in ggplot, e.g. theme(legend.positon="bottom"). on 2022-09-22 this issue is visible on th...
Opengraph URL: https://github.com/plotly/plotly.R/issues/2187
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ggplotly doesn't respect legend.position from theme()","articleBody":"The legend position for plots produced with `ggplotly()` doesn't reflect the position specified in ggplot, e.g. `theme(legend.positon=\"bottom\")`.\r\n\r\non 2022-09-22 this issue is visible on the plotly docs site entry for [Change the legend position](https://plotly.com/ggplot2/legend/#change-the-legend-position) \r\n\r\n\r\n\r\n\r\n```r\r\nlibrary(plotly)\r\nlibrary(ggplot2)\r\n\r\nToothGrowth$dose \u003c- as.factor(ToothGrowth$dose)\r\n\r\np \u003c- ggplot(ToothGrowth, aes(x=dose, y=len, fill=dose)) + \r\n geom_boxplot()\r\n\r\np + theme(legend.position=\"bottom\")\r\n\r\nggplotly(p)\r\n```\r\n","author":{"url":"https://github.com/mcaselli","@type":"Person","name":"mcaselli"},"datePublished":"2022-09-22T15:59:03Z","url":"https://github.com/plotly/plotly.R/issues/2187"}
| 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:c9102626-ff1d-975d-e44f-7d6fd6332f57 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 92B4:14700E:1E29FA0:2637161:6B0160C2 |
| html-safe-nonce | 4fabedc79a81def4524fb59285a36fbfcd055de8538e750d923d02de14461642 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MkI0OjE0NzAwRToxRTI5RkEwOjI2MzcxNjE6NkIwMTYwQzIiLCJ2aXNpdG9yX2lkIjoiNDY1MzMwNjA2NTc5NzA3OTIzNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 34b4a974867f2016a7fa3bf486a97c52cf979ec5dea3dc9a4677f9f632682ca4 |
| hovercard-subject-tag | issue:1382680035 |
| 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/2187/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2f1032b9b005f29665b53bce72ad8a718917f80360fbcd28a33a054c09e0b19a/plotly/plotly.R/issues/2187 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2f1032b9b005f29665b53bce72ad8a718917f80360fbcd28a33a054c09e0b19a/plotly/plotly.R/issues/2187 |
| og:image:alt | The legend position for plots produced with ggplotly() doesn't reflect the position specified in ggplot, e.g. theme(legend.positon="bottom"). on 2022-09-22 this issue is visible on the plotly docs ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mcaselli |
| 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