Title: DOC: Provide alternative to cbar.patch by larsoner · Pull Request #20726 · matplotlib/matplotlib · GitHub
Open Graph Title: DOC: Provide alternative to cbar.patch by larsoner · Pull Request #20726 · matplotlib/matplotlib
X Title: DOC: Provide alternative to cbar.patch by larsoner · Pull Request #20726 · matplotlib/matplotlib
Description: PR Summary Closes #20635 @jklymak the places I was using cbar.patch, using cbar.ax was the correct solution (e.g., cbar.ax.set_facecolor instead of cbar.patch.set_facecolor). The message now reads: The patch attribute was deprecated in Matplotlib 3.5 and will be removed two minor releases later. Use ax instead. PR Checklist [N/A] Has pytest style unit tests (and pytest passes). Is Flake 8 compliant (run flake8 on changed files to check). [N/A] New features are documented, with examples if plot related. [N/A] Documentation is sphinx and numpydoc compliant (the docs should build without error). Conforms to Matplotlib style conventions (install flake8-docstrings and run flake8 --docstring-convention=all). [N/A] New features have an entry in doc/users/next_whats_new/ (follow instructions in README.rst there). [N/A] API changes documented in doc/api/next_api_changes/ (follow instructions in README.rst there).
Open Graph Description: PR Summary Closes #20635 @jklymak the places I was using cbar.patch, using cbar.ax was the correct solution (e.g., cbar.ax.set_facecolor instead of cbar.patch.set_facecolor). The message now reads:...
X Description: PR Summary Closes #20635 @jklymak the places I was using cbar.patch, using cbar.ax was the correct solution (e.g., cbar.ax.set_facecolor instead of cbar.patch.set_facecolor). The message now reads:...
Opengraph URL: https://github.com/matplotlib/matplotlib/pull/20726
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:98fa1dd0-8ec5-4d22-d0f6-dd8156efea22 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B1EC:19106:2C418B4:3C27CC6:6A54560F |
| html-safe-nonce | 916cdbbe0048e874ec1bb5e673ede76041b3edc8f071f395c764afef2eafba02 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMUVDOjE5MTA2OjJDNDE4QjQ6M0MyN0NDNjo2QTU0NTYwRiIsInZpc2l0b3JfaWQiOiI2Nzg4Mzg3Mzc3MjQzMjQ4MTQzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 227d00bc77bec6d13edff87074587ca9441c3ecd018a881923ed5613408380e8 |
| hovercard-subject-tag | pull_request:696143456 |
| 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/20726/files |
| twitter:image | https://avatars.githubusercontent.com/u/2365790?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/2365790?s=400&v=4 |
| og:image:alt | PR Summary Closes #20635 @jklymak the places I was using cbar.patch, using cbar.ax was the correct solution (e.g., cbar.ax.set_facecolor instead of cbar.patch.set_facecolor). The message now reads:... |
| 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