Title: [ENH]: Axes.get_shared_x_axes() returning mutable Grouper · Issue #27161 · matplotlib/matplotlib · GitHub
Open Graph Title: [ENH]: Axes.get_shared_x_axes() returning mutable Grouper · Issue #27161 · matplotlib/matplotlib
X Title: [ENH]: Axes.get_shared_x_axes() returning mutable Grouper · Issue #27161 · matplotlib/matplotlib
Description: Problem I tried to post this on discourse, but that forum is too restrictive in flagging my question as spam (just because I am linking to the specific lines of code to provide context).. so here goes: it used to be that Axes.get_shared_...
Open Graph Description: Problem I tried to post this on discourse, but that forum is too restrictive in flagging my question as spam (just because I am linking to the specific lines of code to provide context).. so here g...
X Description: Problem I tried to post this on discourse, but that forum is too restrictive in flagging my question as spam (just because I am linking to the specific lines of code to provide context).. so here g...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/27161
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[ENH]: Axes.get_shared_x_axes() returning mutable Grouper","articleBody":"### Problem\n\nI tried to post this on discourse, but that forum is too restrictive in flagging my question as spam (just because I am linking to the specific lines of code to provide context).. so here goes:\r\n\r\nit used to be that `Axes.get_shared_x_axes()` returned a `cbook.Grouper()` which had a `.join()` method, but now it is returning an `cbook.GrouperView()` that is IMMUTABLE. It is breaking my [tool](https://github.com/raamana/visualqc/blob/36826e33526186f7722f24f1baf6c1d880ca3dbe/visualqc/diffusion.py#L528) and I don't even understand the rationale for such backward incompatible change.\r\n\r\nregardless, I need a workaround that would continue to work with future versions of matplotlib. Much appreciate your help in pointing me to the right methods and properties to achieve the same effect as [this](https://github.com/raamana/visualqc/blob/36826e33526186f7722f24f1baf6c1d880ca3dbe/visualqc/diffusion.py#L528).\r\n\r\nthanks very much.\n\n### Proposed solution\n\nrevert to the previous behaviour of `Axes.get_shared_x_axes()` returning a mutable `Grouper`","author":{"url":"https://github.com/raamana","@type":"Person","name":"raamana"},"datePublished":"2023-10-20T23:56:16.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/27161/matplotlib/issues/27161"}
| 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:8cf5a636-a95e-d21f-4d6f-488e66525b35 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C846:291A26:3374BA:4A7047:6A549869 |
| html-safe-nonce | 5a75f907140f1c75fed5f264dc7a8ef6dc37b7ddcd1be63f9ca1041d8f7017ed |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDODQ2OjI5MUEyNjozMzc0QkE6NEE3MDQ3OjZBNTQ5ODY5IiwidmlzaXRvcl9pZCI6IjMxOTUwODY5Njg1NDA0MDM4MTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 93ae5c0b080e02163474a2a90f4d5591ecc354e98b8f62e0f86abc27e8aea4ef |
| hovercard-subject-tag | issue:1955143466 |
| 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/27161/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c058e1048341d0c0d766750b3c586f4a486d18aa1f9577bc64dbac0b356bdf24/matplotlib/matplotlib/issues/27161 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c058e1048341d0c0d766750b3c586f4a486d18aa1f9577bc64dbac0b356bdf24/matplotlib/matplotlib/issues/27161 |
| og:image:alt | Problem I tried to post this on discourse, but that forum is too restrictive in flagging my question as spam (just because I am linking to the specific lines of code to provide context).. so here g... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | raamana |
| 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 | f8cfff6384f62259baea531c7f58bc7040f8dd92 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width