Title: MNT: Remove cmap_d colormap access by greglucas · Pull Request #22298 · matplotlib/matplotlib · GitHub
Open Graph Title: MNT: Remove cmap_d colormap access by greglucas · Pull Request #22298 · matplotlib/matplotlib
X Title: MNT: Remove cmap_d colormap access by greglucas · Pull Request #22298 · matplotlib/matplotlib
Description: PR Summary This is the removal of the deprecated mpl.cm.cmap_d dictionary. This is related to #20853, but does not close that as none of the mpl.cm globals are deprecated here. Note that rather than adding pop() to the Registry, I went with the unregister() that was already on cm.unregister_cmap(). I'm not sure if we'd rather it behave like a dictionary with item access/removal that way, or with the register/unregister methods. I don't have a major preference one way or the other. PR Checklist Tests and Styling Has pytest style unit tests (and pytest passes). Is Flake 8 compliant (install flake8-docstrings and run flake8 --docstring-convention=all). Documentation New features are documented, with examples if plot related. New features have an entry in doc/users/next_whats_new/ (follow instructions in README.rst there). API changes documented in doc/api/next_api_changes/ (follow instructions in README.rst there). Documentation is sphinx and numpydoc compliant (the docs should build without error).
Open Graph Description: PR Summary This is the removal of the deprecated mpl.cm.cmap_d dictionary. This is related to #20853, but does not close that as none of the mpl.cm globals are deprecated here. Note that rather tha...
X Description: PR Summary This is the removal of the deprecated mpl.cm.cmap_d dictionary. This is related to #20853, but does not close that as none of the mpl.cm globals are deprecated here. Note that rather tha...
Opengraph URL: https://github.com/matplotlib/matplotlib/pull/22298
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:e914a9bb-55ff-9f6b-4bc0-3e4c5a7d97bf |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | DDB8:279B75:26DB2BB:35014CB:6A53ADCB |
| html-safe-nonce | 164178346805257897a33309d735af26310be58c35b30c35a32365bcd2d05761 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEREI4OjI3OUI3NToyNkRCMkJCOjM1MDE0Q0I6NkE1M0FEQ0IiLCJ2aXNpdG9yX2lkIjoiNDk3OTE4NTQ1NDExNDE5NTk1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 7d6ae895d6d5b3abe16f3b8280460c69686b71a9307fd6bbf4481d78ff71d59a |
| hovercard-subject-tag | pull_request:829979419 |
| 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/22298/files |
| twitter:image | https://avatars.githubusercontent.com/u/12417828?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/12417828?s=400&v=4 |
| og:image:alt | PR Summary This is the removal of the deprecated mpl.cm.cmap_d dictionary. This is related to #20853, but does not close that as none of the mpl.cm globals are deprecated here. Note that rather tha... |
| 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