Title: Account for trace specific layoutAttributes when warning about attribute names · Issue #994 · plotly/plotly.R · GitHub
Open Graph Title: Account for trace specific layoutAttributes when warning about attribute names · Issue #994 · plotly/plotly.R
X Title: Account for trace specific layoutAttributes when warning about attribute names · Issue #994 · plotly/plotly.R
Description: This shouldn't throw a warning > plot_ly(ggplot2::diamonds, x = ~cut, y = ~price, color = ~clarity, type = "box") %>% layout(boxmode = "group") Warning message: 'layout' objects don't have these attributes: 'boxmode' Valid attributes inc...
Open Graph Description: This shouldn't throw a warning > plot_ly(ggplot2::diamonds, x = ~cut, y = ~price, color = ~clarity, type = "box") %>% layout(boxmode = "group") Warning message: 'layout' objects don't have these at...
X Description: This shouldn't throw a warning > plot_ly(ggplot2::diamonds, x = ~cut, y = ~price, color = ~clarity, type = "box") %>% layout(boxmode = "group") Warning message: 'l...
Opengraph URL: https://github.com/plotly/plotly.R/issues/994
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Account for trace specific layoutAttributes when warning about attribute names","articleBody":"This shouldn't throw a warning\r\n\r\n```r\r\n> plot_ly(ggplot2::diamonds, x = ~cut, y = ~price, color = ~clarity, type = \"box\") %>% layout(boxmode = \"group\")\r\n\r\nWarning message:\r\n'layout' objects don't have these attributes: 'boxmode'\r\nValid attributes include:\r\n'font', 'title', 'titlefont', 'autosize', 'width', 'height', 'margin', 'paper_bgcolor', 'plot_bgcolor', 'separators', 'hidesources', 'smith', 'showlegend', 'dragmode', 'hovermode', 'xaxis', 'yaxis', 'ternary', 'scene', 'geo', 'mapbox', 'radialaxis', 'angularaxis', 'direction', 'orientation', 'legend', 'annotations', 'shapes', 'images', 'updatemenus', 'sliders', 'calendar', 'barmode', 'bargap', 'mapType'\r\n```\r\n\r\n```r\r\n> Schema$traces$box$layoutAttributes$boxmode\r\n$valType\r\n[1] \"enumerated\"\r\n\r\n$values\r\n[1] \"group\" \"overlay\"\r\n\r\n$dflt\r\n[1] \"overlay\"\r\n```\r\n\r\nOriginally posted in https://community.plot.ly/t/not-a-real-error-for-boxmode/2596","author":{"url":"https://github.com/cpsievert","@type":"Person","name":"cpsievert"},"datePublished":"2017-05-09T20:25:47Z","url":"https://github.com/plotly/plotly.R/issues/994"}
| 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:f9fdc9aa-3c87-df96-53bb-f64cd54f31fb |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AF4A:25598F:12F4C02:19082F9:6B011DC7 |
| html-safe-nonce | 40cb6a0b4af604f4ebadb6fffaf01f6fa357c42be648d280c4a91b6e171f28e2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRjRBOjI1NTk4RjoxMkY0QzAyOjE5MDgyRjk6NkIwMTFEQzciLCJ2aXNpdG9yX2lkIjoiMjYwMTQzNDMzNDA0MDc1OTc1MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a257a648eb1e2229172acc1b0a505c98b9ae1757129ea82e56afac74e4bf809f |
| hovercard-subject-tag | issue:227487071 |
| 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/994/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6ee10ce87f62bb2f1c4603d5b6c18a715d77c37896b9843cad937f9635ddc108/plotly/plotly.R/issues/994 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6ee10ce87f62bb2f1c4603d5b6c18a715d77c37896b9843cad937f9635ddc108/plotly/plotly.R/issues/994 |
| og:image:alt | This shouldn't throw a warning > plot_ly(ggplot2::diamonds, x = ~cut, y = ~price, color = ~clarity, type = "box") %>% layout(boxmode = "group") Warning message: 'layout' objects don't have these at... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | cpsievert |
| 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