Title: [ENH]: secondary_x/yaxis accept transform argument · Issue #25119 · matplotlib/matplotlib · GitHub
Open Graph Title: [ENH]: secondary_x/yaxis accept transform argument · Issue #25119 · matplotlib/matplotlib
X Title: [ENH]: secondary_x/yaxis accept transform argument · Issue #25119 · matplotlib/matplotlib
Description: Problem #25117 wanted to put an extra axes at y=0. It should be possible to pass ax.transData to secondary_xaxis so that the location variable is understood as data co-ordinates, not axes-relative co-ordinates. Proposed solution secondar...
Open Graph Description: Problem #25117 wanted to put an extra axes at y=0. It should be possible to pass ax.transData to secondary_xaxis so that the location variable is understood as data co-ordinates, not axes-relative ...
X Description: Problem #25117 wanted to put an extra axes at y=0. It should be possible to pass ax.transData to secondary_xaxis so that the location variable is understood as data co-ordinates, not axes-relative ...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/25119
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[ENH]: secondary_x/yaxis accept transform argument","articleBody":"### Problem\n\n#25117 wanted to put an extra axes at y=0. It should be possible to pass `ax.transData` to `secondary_xaxis` so that the location variable is understood as data co-ordinates, not axes-relative co-ordinates. \n\n### Proposed solution\n\n`secondary_xaxis(0, transform=ax.transData)` should put the secondary axes at y=0. Of course the default should be ax.transAxes for back-compatibility. ","author":{"url":"https://github.com/jklymak","@type":"Person","name":"jklymak"},"datePublished":"2023-01-31T21:42:27.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/25119/matplotlib/issues/25119"}
| 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:b39dcfb0-f524-75d7-fe92-1a46ff62635e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A6B6:3976A5:AE5AA:EDC88:6A535F87 |
| html-safe-nonce | bc017782c79bdd491537ae3d3e6c568c7fa295491d3e8ce0a3b1afea1d789053 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNkI2OjM5NzZBNTpBRTVBQTpFREM4ODo2QTUzNUY4NyIsInZpc2l0b3JfaWQiOiI1NjMzNjgwOTA5OTk3OTI0MjMxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 14c95e4469c26d5a7ed523a74480af99899409d8c65b089c136048a862b1a42e |
| hovercard-subject-tag | issue:1565043611 |
| 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/matplotlib/matplotlib/25119/issue_layout |
| twitter:image | https://opengraph.githubassets.com/47cb09adaec0232399af31a0673bb5716fc4687d3075d762f3aeb3b2bab232ab/matplotlib/matplotlib/issues/25119 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/47cb09adaec0232399af31a0673bb5716fc4687d3075d762f3aeb3b2bab232ab/matplotlib/matplotlib/issues/25119 |
| og:image:alt | Problem #25117 wanted to put an extra axes at y=0. It should be possible to pass ax.transData to secondary_xaxis so that the location variable is understood as data co-ordinates, not axes-relative ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jklymak |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git |
| octolytics-dimension-user_id | 215947 |
| octolytics-dimension-user_login | matplotlib |
| octolytics-dimension-repository_id | 1385122 |
| octolytics-dimension-repository_nwo | matplotlib/matplotlib |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1385122 |
| octolytics-dimension-repository_network_root_nwo | matplotlib/matplotlib |
| 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 | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width