Title: Assume that mpl-data is in its standard location. by anntzer · Pull Request #14401 · matplotlib/matplotlib · GitHub
Open Graph Title: Assume that mpl-data is in its standard location. by anntzer · Pull Request #14401 · matplotlib/matplotlib
X Title: Assume that mpl-data is in its standard location. by anntzer · Pull Request #14401 · matplotlib/matplotlib
Description: The previous candidates tested in get_candidate_paths were for when matplotlib itself was a namespace package (a long time ago, before mpl_toolkits were move out of matplotlib proper), and py2exe support, which is deprecated (see deprecation of get_py2exe_datafiles). Just to be sure in case someone else is relying on the paths in get_candidate_paths, emit a deprecation warning in case they are needed, but let's not bother with an API changes note (it's not even clear how to word that). Note that redistributors (e.g. linux distro packagers) who may want to move mpl-data out can still do so by patching out the entire _get_data_path function. PR Summary PR Checklist Has Pytest style unit tests Code is Flake 8 compliant New features are documented, with examples if plot related Documentation is sphinx and numpydoc compliant Added an entry to doc/users/next_whats_new/ if major new feature (follow instructions in README.rst there) Documented in doc/api/api_changes.rst if API changed in a backward-incompatible way
Open Graph Description: The previous candidates tested in get_candidate_paths were for when matplotlib itself was a namespace package (a long time ago, before mpl_toolkits were move out of matplotlib proper), and py2exe ...
X Description: The previous candidates tested in get_candidate_paths were for when matplotlib itself was a namespace package (a long time ago, before mpl_toolkits were move out of matplotlib proper), and py2exe ...
Opengraph URL: https://github.com/matplotlib/matplotlib/pull/14401
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:034e6517-d75a-0dce-ea1e-2286054ec634 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D47C:379CB7:E6DD7:14FF99:6A576709 |
| html-safe-nonce | b3f55ba5cdf7707c65a967f2f93ebe655ca1e584f44313b4a5f7032eb174e15b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENDdDOjM3OUNCNzpFNkRENzoxNEZGOTk6NkE1NzY3MDkiLCJ2aXNpdG9yX2lkIjoiNjUyNDE0MDA3MjcwMjc5NzU3NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 076da9214357aaa7389e2de2720c6bb1ecdd40f514f53a34a2724779d8009ae7 |
| hovercard-subject-tag | pull_request:284083814 |
| 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/14401/files |
| twitter:image | https://avatars.githubusercontent.com/u/1322974?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1322974?s=400&v=4 |
| og:image:alt | The previous candidates tested in get_candidate_paths were for when matplotlib itself was a namespace package (a long time ago, before mpl_toolkits were move out of matplotlib proper), and py2exe ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4e7a7296a3830877cf21a6ad2a972c9e618a48915e03966cf0c53eb08e5aad98 |
| 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 | 1b5a9c55f39dd27607a574cdc272552f20236b44 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width