Title: Contour plot interpolation method always treats data as linear · Issue #5899 · plotly/plotly.js · GitHub
Open Graph Title: Contour plot interpolation method always treats data as linear · Issue #5899 · plotly/plotly.js
X Title: Contour plot interpolation method always treats data as linear · Issue #5899 · plotly/plotly.js
Description: The implementation of the Catmull-Rom interpolation treats the data as linear. This results in very poor contours for plots with log-scale axes. The linked example is a 5x5 contour generated in two different ways, with data that has x an...
Open Graph Description: The implementation of the Catmull-Rom interpolation treats the data as linear. This results in very poor contours for plots with log-scale axes. The linked example is a 5x5 contour generated in two...
X Description: The implementation of the Catmull-Rom interpolation treats the data as linear. This results in very poor contours for plots with log-scale axes. The linked example is a 5x5 contour generated in two...
Opengraph URL: https://github.com/plotly/plotly.js/issues/5899
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Contour plot interpolation method always treats data as linear","articleBody":"The implementation of the Catmull-Rom interpolation treats the data as linear. This results in very poor contours for plots with log-scale axes. \r\n\r\nThe linked example is a 5x5 contour generated in two different ways, with data that has x and y log-spaced. Code pen example: https://codepen.io/andrew-matteson/pen/oNWKJJZ\r\n\r\nIn the first plot, the x and y data is transformed to a linear scale by taking the log base 10. Ticks are managed with tick val / tick text. The contour data looks as expected.\r\n\r\nIn the second plot, the x and y data are taken directly, and the x and y axes are of `type: 'log'`. This produces nice axes, but very poor contours.\r\n\r\nScreen shots:\r\n\r\n\r\n\r\n\r\nIn the absence of axis dependent interpolation, a workaround to get the nice \"log style\" axes with the nice contours would be appreciated.\r\n","author":{"url":"https://github.com/andrew-matteson","@type":"Person","name":"andrew-matteson"},"datePublished":"2021-08-20T15:32:59Z","url":"https://github.com/plotly/plotly.js/issues/5899"}
| 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:6f3e2f07-bdb7-8c92-f484-5157b95a208a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A7E4:36A3E:28C7839:366B594:6B01BBE9 |
| html-safe-nonce | fae85fcb13232439101a9472dce10f029a6c7e1e3e19db38be1628d88dd239b5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBN0U0OjM2QTNFOjI4Qzc4Mzk6MzY2QjU5NDo2QjAxQkJFOSIsInZpc2l0b3JfaWQiOiIyMzk4ODgyMjY3NjEyMTY3MTQ1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | f222632d36af693088a2cf483872db63e2e75420477a5b2b5652cc2c2dcff30c |
| hovercard-subject-tag | issue:975715420 |
| 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/5899/issue_layout |
| twitter:image | https://opengraph.githubassets.com/020f180c88aa9edb5f9f432a828bbf84987a0bc22ca9cdc7d542de3edb2f7264/plotly/plotly.js/issues/5899 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/020f180c88aa9edb5f9f432a828bbf84987a0bc22ca9cdc7d542de3edb2f7264/plotly/plotly.js/issues/5899 |
| og:image:alt | The implementation of the Catmull-Rom interpolation treats the data as linear. This results in very poor contours for plots with log-scale axes. The linked example is a 5x5 contour generated in two... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | andrew-matteson |
| 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