Title: set_aspect option for changing just the x or or just the y data limits · Issue #20380 · matplotlib/matplotlib · GitHub
Open Graph Title: set_aspect option for changing just the x or or just the y data limits · Issue #20380 · matplotlib/matplotlib
X Title: set_aspect option for changing just the x or or just the y data limits · Issue #20380 · matplotlib/matplotlib
Description: Setting the 'adjustable' keyword of Axes.set_aspect to 'datalim' changes the x or y data limits, but I would like an option that explicitly changes only the x or only the y data limits. This would allow one to achieve a desired aspect ra...
Open Graph Description: Setting the 'adjustable' keyword of Axes.set_aspect to 'datalim' changes the x or y data limits, but I would like an option that explicitly changes only the x or only the y data limits. This would ...
X Description: Setting the 'adjustable' keyword of Axes.set_aspect to 'datalim' changes the x or y data limits, but I would like an option that explicitly changes only the x or only the y data lim...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/20380
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"set_aspect option for changing just the x or or just the y data limits","articleBody":"Setting the 'adjustable' keyword of Axes.set_aspect to 'datalim' changes the **x or y** data limits, but I would like an option that explicitly changes **only the x** or **only the y** data limits. This would allow one to achieve a desired aspect ratio while leaving the data limits of one of the two axes unchanged. This could be similar to the 'axis ' keyword of Axes.autoscale. As an example use case, this would allow set_aspect and autoscale to work together if autoscale were applied to the x axis and set_aspect were applied to the y axis.","author":{"url":"https://github.com/cdfredrick","@type":"Person","name":"cdfredrick"},"datePublished":"2021-06-07T14:40:05.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/20380/matplotlib/issues/20380"}
| 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:663fd3ef-a30c-1177-8068-edfa79cd73d9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 83DE:1BA1D0:1921C9C:21F4231:6A535E7E |
| html-safe-nonce | e2c670c39b3db05f1a98d3c6da054f3bc2515a5c9e2246061f828889cdee9a7e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4M0RFOjFCQTFEMDoxOTIxQzlDOjIxRjQyMzE6NkE1MzVFN0UiLCJ2aXNpdG9yX2lkIjoiNDk0MjIxMTkyMDAzMzk2MzY0NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e75ff450fac1a4e8d115b32685a1db0721800c5edd9f61d38af88dec44ab0b3a |
| hovercard-subject-tag | issue:913624357 |
| 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/20380/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4b18f4ee998b4b1d00ff246f264e8bfe6eb7a850dee530a211f6594486e95b74/matplotlib/matplotlib/issues/20380 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4b18f4ee998b4b1d00ff246f264e8bfe6eb7a850dee530a211f6594486e95b74/matplotlib/matplotlib/issues/20380 |
| og:image:alt | Setting the 'adjustable' keyword of Axes.set_aspect to 'datalim' changes the x or y data limits, but I would like an option that explicitly changes only the x or only the y data limits. This would ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | cdfredrick |
| 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