Title: Check Axes/Figure import paths in boilerplate.py by dstansby · Pull Request #29948 · matplotlib/matplotlib · GitHub
Open Graph Title: Check Axes/Figure import paths in boilerplate.py by dstansby · Pull Request #29948 · matplotlib/matplotlib
X Title: Check Axes/Figure import paths in boilerplate.py by dstansby · Pull Request #29948 · matplotlib/matplotlib
Description: Before this PR, if the Matplotlib installed in the current environment is not the same as the source tree boilerplate.py is from, the Axes/Figure classes not taken from the correct source tree. This adds a guard to make sure this isn't the case. I have confirmed locally this prevents situations like those described in #29921 I can't think of a situation where one wants to deliberately generate pyplot.py from another source tree, but if there is manually specifying the other source tree as an argument to boilerplate.py should still work. Fixes #29921.
Open Graph Description: Before this PR, if the Matplotlib installed in the current environment is not the same as the source tree boilerplate.py is from, the Axes/Figure classes not taken from the correct source tree. Thi...
X Description: Before this PR, if the Matplotlib installed in the current environment is not the same as the source tree boilerplate.py is from, the Axes/Figure classes not taken from the correct source tree. Thi...
Opengraph URL: https://github.com/matplotlib/matplotlib/pull/29948
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:72e1e051-43ef-3592-82b2-66050bebe012 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BF16:2003E5:182F317:1FEB868:6A51CD40 |
| html-safe-nonce | 7f6520d40dd2760524546cd5c201a4dd7ee595adda5ecd173f0605158ca76c27 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRjE2OjIwMDNFNToxODJGMzE3OjFGRUI4Njg6NkE1MUNENDAiLCJ2aXNpdG9yX2lkIjoiNjI5NDI1NjQyMzUzOTk1Mjk2MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 05e3d44fec2e34d3d49b5121dad71e44160461cc12de55894482f21aa0eefc24 |
| hovercard-subject-tag | pull_request:2469081807 |
| 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/29948/files |
| twitter:image | https://avatars.githubusercontent.com/u/6197628?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/6197628?s=400&v=4 |
| og:image:alt | Before this PR, if the Matplotlib installed in the current environment is not the same as the source tree boilerplate.py is from, the Axes/Figure classes not taken from the correct source tree. Thi... |
| 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 | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width