Title: colorbar draws outside the bounds · Issue #970 · plotly/plotly.js · GitHub
Open Graph Title: colorbar draws outside the bounds · Issue #970 · plotly/plotly.js
X Title: colorbar draws outside the bounds · Issue #970 · plotly/plotly.js
Description: Hey Plotly team, Small bug - sometimes, depending on the layout's height/vertical margins, one of the colorbar's .cbfill will get drawn outside the outline (see http://codepen.io/hellochar/pen/JREjyv): Looks like it's only off by 1 pixel...
Open Graph Description: Hey Plotly team, Small bug - sometimes, depending on the layout's height/vertical margins, one of the colorbar's .cbfill will get drawn outside the outline (see http://codepen.io/hellochar/pen/JREj...
X Description: Hey Plotly team, Small bug - sometimes, depending on the layout's height/vertical margins, one of the colorbar's .cbfill will get drawn outside the outline (see http://codepen.io/hellochar/...
Opengraph URL: https://github.com/plotly/plotly.js/issues/970
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"colorbar draws outside the bounds","articleBody":"Hey Plotly team,\n\nSmall bug - sometimes, depending on the layout's height/vertical margins, one of the colorbar's `.cbfill` will get drawn outside the outline (see http://codepen.io/hellochar/pen/JREjyv):\n\n\nLooks like it's only off by 1 pixel:\n\n\n\nIt is a noticeable artifact that sometimes appears in our charts. Any ideas what's going on here? Happy to submit a PR as well if someone could help me understand the code at \nhttps://github.com/plotly/plotly.js/blob/master/src/components/colorbar/draw.js#L348\n\nThanks,\nXiaohan\n","author":{"url":"https://github.com/hellochar","@type":"Person","name":"hellochar"},"datePublished":"2016-09-22T18:52:47.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":14},"url":"https://github.com/970/plotly.js/issues/970"}
| 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:0ab6b715-b93e-a9af-116d-fa79924d60f0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9D6A:24B0B7:94EAD:C88DD:6A551AF0 |
| html-safe-nonce | 67ed52a5c68702c9a8d65604393e10ee883f0cf46cdf5ce2036f3dd6beb3b673 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RDZBOjI0QjBCNzo5NEVBRDpDODhERDo2QTU1MUFGMCIsInZpc2l0b3JfaWQiOiI3MTE4ODY3NTk1NzkzODY1NDU2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 59e4ad6dc3ee1423e7c0d5a06b42151b7c4726cf2b986c2041c13a02355b8e93 |
| hovercard-subject-tag | issue:178691400 |
| 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/970/issue_layout |
| twitter:image | https://opengraph.githubassets.com/82137c425419ce6600a0668964fd13c5bddd1f598c72bd0ff50406c36fc36a8f/plotly/plotly.js/issues/970 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/82137c425419ce6600a0668964fd13c5bddd1f598c72bd0ff50406c36fc36a8f/plotly/plotly.js/issues/970 |
| og:image:alt | Hey Plotly team, Small bug - sometimes, depending on the layout's height/vertical margins, one of the colorbar's .cbfill will get drawn outside the outline (see http://codepen.io/hellochar/pen/JREj... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | hellochar |
| hostname | github.com |
| expected-hostname | github.com |
| None | 682d273eacb2ac51680c6eb9c0b270f029f7ce74c32090f319083c34497e28a5 |
| 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 | 3b6d37c6470adadff4194742daaab9a817cc4980 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width