Title: Fixed xlim issue when clearing shared axes by JamesCamilleri13 · Pull Request #28101 · matplotlib/matplotlib · GitHub
Open Graph Title: Fixed xlim issue when clearing shared axes by JamesCamilleri13 · Pull Request #28101 · matplotlib/matplotlib
X Title: Fixed xlim issue when clearing shared axes by JamesCamilleri13 · Pull Request #28101 · matplotlib/matplotlib
Description: PR summary Making sure that when two subplots are sharing an axes, clearing the leader one doesn't also reset the xlim and ylim to [0,1] import matplotlib.pyplot as plt import numpy as np ax0 = plt.subplot(211) ax1 = plt.subplot(212, sharex=ax0) ax0.plot(range(100)) ax1.plot(range(100)) ax0.cla() plt.show() Befor PR: After PR: PR checklist Closes #27825
Open Graph Description: PR summary Making sure that when two subplots are sharing an axes, clearing the leader one doesn't also reset the xlim and ylim to [0,1] import matplotlib.pyplot as plt import numpy as np ax0 ...
X Description: PR summary Making sure that when two subplots are sharing an axes, clearing the leader one doesn't also reset the xlim and ylim to [0,1] import matplotlib.pyplot as plt import numpy as np ...
Opengraph URL: https://github.com/matplotlib/matplotlib/pull/28101
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:8a9b982d-f2a1-4692-e25a-66314bebf3c1 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9AFE:814DC:2B39546:3A590DF:6A53B38D |
| html-safe-nonce | 6a9135e81a66aca9449327a3a8ebc87858e54cde999ca82f4da6e41457446a11 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QUZFOjgxNERDOjJCMzk1NDY6M0E1OTBERjo2QTUzQjM4RCIsInZpc2l0b3JfaWQiOiIyODgxMDA1NTMyMTI2MzYwNDYxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | a7f4d7831dfbb04eace84a0353a91d45fbe0295b1f2d8c99171f6852cb586d71 |
| hovercard-subject-tag | pull_request:1830446868 |
| 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/28101/files |
| twitter:image | https://avatars.githubusercontent.com/u/118368455?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/118368455?s=400&v=4 |
| og:image:alt | PR summary Making sure that when two subplots are sharing an axes, clearing the leader one doesn't also reset the xlim and ylim to [0,1] import matplotlib.pyplot as plt import numpy as np ax0 ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| 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 | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width