Title: Box plot with log axis results in log-scaled box widths · Issue #3508 · plotly/plotly.js · GitHub
Open Graph Title: Box plot with log axis results in log-scaled box widths · Issue #3508 · plotly/plotly.js
X Title: Box plot with log axis results in log-scaled box widths · Issue #3508 · plotly/plotly.js
Description: Originally reported in plotly/plotly.py#1415 When plotting a box plot on a log axis, the box widths seem to follow the log pattern. CodePen: plotly/plotly.py#1415 var y0=[],y1=[] for ( i = 0; i < 50; i ++) { y0[i] = Math.random(); y1[i] ...
Open Graph Description: Originally reported in plotly/plotly.py#1415 When plotting a box plot on a log axis, the box widths seem to follow the log pattern. CodePen: plotly/plotly.py#1415 var y0=[],y1=[] for ( i = 0; i < 5...
X Description: Originally reported in plotly/plotly.py#1415 When plotting a box plot on a log axis, the box widths seem to follow the log pattern. CodePen: plotly/plotly.py#1415 var y0=[],y1=[] for ( i = 0; i <...
Opengraph URL: https://github.com/plotly/plotly.js/issues/3508
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Box plot with log axis results in log-scaled box widths","articleBody":"Originally reported in https://github.com/plotly/plotly.py/issues/1415\r\n\r\nWhen plotting a box plot on a log axis, the box widths seem to follow the log pattern.\r\n\r\nCodePen: https://github.com/plotly/plotly.py/issues/1415\r\n```JavaScript\r\nvar y0=[],y1=[]\r\nfor ( i = 0; i \u003c 50; i ++) \r\n{\r\n\ty0[i] = Math.random();\r\n\ty1[i] = Math.random();\r\n}\r\n\r\nvar trace1 = {\r\n\tx: y0.map(v => 1),\r\n y: y0,\r\n type: 'box'\r\n};\r\n\r\nvar trace2 = {\r\n x: y0.map(v => 10),\r\n y: y1,\r\n type: 'box'\r\n};\r\n\r\nvar trace3 = {\r\n x: y0.map(v => 100),\r\n y: y1,\r\n type: 'box'\r\n};\r\n\r\nvar data = [trace1, trace2, trace3];\r\nvar layout = {xaxis: {type: 'log'}}\r\n\r\nPlotly.newPlot('myDiv', data, layout, {showSendToCloud: true});\r\n```\r\n\r\n\r\nSince the width of the boxes is not a value in data coordinates, it seems to me that we shouldn't scale it according to the log axis transform. What do you think?\r\n","author":{"url":"https://github.com/jonmmease","@type":"Person","name":"jonmmease"},"datePublished":"2019-02-04T10:52:39Z","url":"https://github.com/plotly/plotly.js/issues/3508"}
| 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:968095a8-16d4-8ca2-115f-321fec60e392 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 83C0:4279A:2428DD9:30AB652:6B01AC71 |
| html-safe-nonce | e8238aee863dbb2308e777a82d21ec7ea9e15b7431918074acd80a134ecf5a74 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4M0MwOjQyNzlBOjI0MjhERDk6MzBBQjY1Mjo2QjAxQUM3MSIsInZpc2l0b3JfaWQiOiIyNzIwMTk2OTMxNDYzNzg1NTg1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | d87e389e890961f6f1b0862632adf18588207e0c9e56d26d1ca9565c813471bf |
| hovercard-subject-tag | issue:406273423 |
| 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.js/3508/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d1ce035544ff3eae2538e9fb0662a9ffb49ab0ee9b20e858b9ad0b88aa255313/plotly/plotly.js/issues/3508 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d1ce035544ff3eae2538e9fb0662a9ffb49ab0ee9b20e858b9ad0b88aa255313/plotly/plotly.js/issues/3508 |
| og:image:alt | Originally reported in plotly/plotly.py#1415 When plotting a box plot on a log axis, the box widths seem to follow the log pattern. CodePen: plotly/plotly.py#1415 var y0=[],y1=[] for ( i = 0; i < 5... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jonmmease |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/plotly/plotly.js git https://github.com/plotly/plotly.js.git |
| octolytics-dimension-user_id | 5997976 |
| octolytics-dimension-user_login | plotly |
| octolytics-dimension-repository_id | 45646037 |
| octolytics-dimension-repository_nwo | plotly/plotly.js |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 45646037 |
| octolytics-dimension-repository_network_root_nwo | plotly/plotly.js |
| 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