Title: Data access API for rcParams by timhoffm · Pull Request #24730 · matplotlib/matplotlib · GitHub
Open Graph Title: Data access API for rcParams by timhoffm · Pull Request #24730 · matplotlib/matplotlib
X Title: Data access API for rcParams by timhoffm · Pull Request #24730 · matplotlib/matplotlib
Description: PR Summary Replaces (first step of) #12577, see in particular #12577 (comment). This provides a defined API for accessing rcParams via rcParams._data[key] while circumventing any validation logic happening in rcParams[key]. Before, direct data access was realized through dict.__getitem__(rcParams, key) / dict.__setitem__(rcParams, key, val), which depends on the implementation detail of rcParams being a dict subclass. The new data access API gets rid of this dependency and thus opens up a way to later move away from dict subclassing. We want to move away from dict subclassing and only guarantee the MutableMapping interface for rcParams in the future. This allows other future restructings like introducing a new configuration management and changing rcParams into a backward-compatible adapter. Ping @anntzer who will be affected by this change in mplcairo #12577 (comment)
Open Graph Description: PR Summary Replaces (first step of) #12577, see in particular #12577 (comment). This provides a defined API for accessing rcParams via rcParams._data[key] while circumventing any validation logic h...
X Description: PR Summary Replaces (first step of) #12577, see in particular #12577 (comment). This provides a defined API for accessing rcParams via rcParams._data[key] while circumventing any validation logic h...
Opengraph URL: https://github.com/matplotlib/matplotlib/pull/24730
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:d606924e-74ea-100c-57ee-f7033d499224 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 815A:2FC742:85587D:B08477:6A5310A6 |
| html-safe-nonce | 724e07e9312518b719687ab4aafbafe2eba53fdbc322141345a3be3b4ff72f55 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MTVBOjJGQzc0Mjo4NTU4N0Q6QjA4NDc3OjZBNTMxMEE2IiwidmlzaXRvcl9pZCI6IjIwNzc3MzI1MjYxOTgyOTY3NDIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | ccb0b6860cb99fb75802a32ac4be2087490ddc54ba83dd5238602462729fe30a |
| hovercard-subject-tag | pull_request:1165898695 |
| 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/24730/files |
| twitter:image | https://avatars.githubusercontent.com/u/2836374?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/2836374?s=400&v=4 |
| og:image:alt | PR Summary Replaces (first step of) #12577, see in particular #12577 (comment). This provides a defined API for accessing rcParams via rcParams._data[key] while circumventing any validation logic h... |
| 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 full-width |
| 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