Title: Add ability to unshare a pair of shared [xy] axes by dmcdougall · Pull Request #1312 · matplotlib/matplotlib · GitHub
Open Graph Title: Add ability to unshare a pair of shared [xy] axes by dmcdougall · Pull Request #1312 · matplotlib/matplotlib
X Title: Add ability to unshare a pair of shared [xy] axes by dmcdougall · Pull Request #1312 · matplotlib/matplotlib
Description: Example: import matplotlib.pyplot as plt # Let's say you shared a pair of x axes fig = plt.figure() ax1 = fig.add_subplot(2, 1, 1) ax2 = fig.add_subplot(2, 1, 2, sharex=ax1) ax1.plot(range(3)) ax2.plot(range(10)) # You can then unshare the x axes shared between ax1 and ax2 ax1.unshare_x_axes(ax2) # Alternatively, you can call ax2.unshare_x_axes(ax1) # They are equivalent I've tried this simple case out, and it seems to work quite nicely. I had to add functionality to remove weak references from cbook.Grouper() and that change is included in this pull request.
Open Graph Description: Example: import matplotlib.pyplot as plt # Let's say you shared a pair of x axes fig = plt.figure() ax1 = fig.add_subplot(2, 1, 1) ax2 = fig.add_subplot(2, 1, 2, sharex=ax1) ax1.plot(range(3))...
X Description: Example: import matplotlib.pyplot as plt # Let's say you shared a pair of x axes fig = plt.figure() ax1 = fig.add_subplot(2, 1, 1) ax2 = fig.add_subplot(2, 1, 2, sharex=ax1) ax1.plot(range...
Opengraph URL: https://github.com/matplotlib/matplotlib/pull/1312
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:4068cb84-b3b4-de68-a07a-99490a65b953 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9786:3F7364:5223C9:702447:6A553FF8 |
| html-safe-nonce | 6472a294c4805fe75d8d6cef9ce99522abbc9a4e1c1e36cbc17f2ba230f7a45d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5Nzg2OjNGNzM2NDo1MjIzQzk6NzAyNDQ3OjZBNTUzRkY4IiwidmlzaXRvcl9pZCI6IjcyMDgzMDM1OTgxNzQwMjc3NjgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 80204827d04c7ffb5d7abceb62620f6da29e3e9cab0b5c3b29a17cf2054b3cf8 |
| hovercard-subject-tag | pull_request:2455897 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/matplotlib/matplotlib/pull/1312/files |
| twitter:image | https://avatars.githubusercontent.com/u/328518?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/328518?s=400&v=4 |
| og:image:alt | Example: import matplotlib.pyplot as plt # Let's say you shared a pair of x axes fig = plt.figure() ax1 = fig.add_subplot(2, 1, 1) ax2 = fig.add_subplot(2, 1, 2, sharex=ax1) ax1.plot(range(3))... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | fbd8fce4d63ac394c5405faa20aa50d5c9e56b979ac43ee1b26f8e7c47c4cd89 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 811f50b757204c6a1b4da0ea780075b3e1cc9e57 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width