Title: [MNT]: Deprecated / discourage less used Axes methods forwarding to Axis methods · Issue #23633 · matplotlib/matplotlib · GitHub
Open Graph Title: [MNT]: Deprecated / discourage less used Axes methods forwarding to Axis methods · Issue #23633 · matplotlib/matplotlib
X Title: [MNT]: Deprecated / discourage less used Axes methods forwarding to Axis methods · Issue #23633 · matplotlib/matplotlib
Description: Summary Discourage or deprecate Axes.invert_xaxis() / Axes.invert_yaxis(). Use ax.xaxis.set_inverted(bool) instead. Axes.xaxis_inverted() / Axes.yaxis_inverted(). Use ax.xaxis.get_inverted() instead. These are simple and rare enough so t...
Open Graph Description: Summary Discourage or deprecate Axes.invert_xaxis() / Axes.invert_yaxis(). Use ax.xaxis.set_inverted(bool) instead. Axes.xaxis_inverted() / Axes.yaxis_inverted(). Use ax.xaxis.get_inverted() instea...
X Description: Summary Discourage or deprecate Axes.invert_xaxis() / Axes.invert_yaxis(). Use ax.xaxis.set_inverted(bool) instead. Axes.xaxis_inverted() / Axes.yaxis_inverted(). Use ax.xaxis.get_inverted() instea...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/23633
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[MNT]: Deprecated / discourage less used Axes methods forwarding to Axis methods","articleBody":"### Summary\r\n\r\nDiscourage or deprecate\r\n\r\n- `Axes.invert_xaxis()` / `Axes.invert_yaxis()`. Use `ax.xaxis.set_inverted(bool)` instead.\r\n- `Axes.xaxis_inverted()` / `Axes.yaxis_inverted()`. Use `ax.xaxis.get_inverted()` instead.\r\n\r\nThese are simple and rare enough so that we do not need to lift the API from the Axis to the Axes.\r\n\r\nI'm still not decided whether we should only discourage or deprecate. - It's the usual trade-off between backward-compatibility and making the API simpler / less redundant.\r\n\r\n","author":{"url":"https://github.com/timhoffm","@type":"Person","name":"timhoffm"},"datePublished":"2022-08-15T21:26:43.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":11},"url":"https://github.com/23633/matplotlib/issues/23633"}
| 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:7892e599-b33e-6aec-6d48-4f96000d25ea |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EA16:1E0399:FCA8CF:15534BA:6A517642 |
| html-safe-nonce | 4bf7e3d547dbc1b0081b40fdc601330d747239005c670c64648bbecf613a36a5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQTE2OjFFMDM5OTpGQ0E4Q0Y6MTU1MzRCQTo2QTUxNzY0MiIsInZpc2l0b3JfaWQiOiI0MzE3Njg1MDk3Nzk5MTg1OTg2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | ce9f0afbd46250c3e5ae2e77fe6001d72a144d53672523c386e7f5cfefab4786 |
| hovercard-subject-tag | issue:1339530102 |
| 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/23633/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0016b8df228bd47c82da071c6c4be1c66c3a5d8f3f4fc1a69415120d1f13e673/matplotlib/matplotlib/issues/23633 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0016b8df228bd47c82da071c6c4be1c66c3a5d8f3f4fc1a69415120d1f13e673/matplotlib/matplotlib/issues/23633 |
| og:image:alt | Summary Discourage or deprecate Axes.invert_xaxis() / Axes.invert_yaxis(). Use ax.xaxis.set_inverted(bool) instead. Axes.xaxis_inverted() / Axes.yaxis_inverted(). Use ax.xaxis.get_inverted() instea... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | timhoffm |
| 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 | e2c3fb1e56564ee0a4805542460de1eb8bd6bd77 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width