Title: MNT: do not assign a numpy array shape by rcomer · Pull Request #30985 · matplotlib/matplotlib · GitHub
Open Graph Title: MNT: do not assign a numpy array shape by rcomer · Pull Request #30985 · matplotlib/matplotlib
X Title: MNT: do not assign a numpy array shape by rcomer · Pull Request #30985 · matplotlib/matplotlib
Description: PR summary Fixes #30981. Numpy has deprecated assigning a shape to an array. https://numpy.org/devdocs/release/2.5.0-notes.html#setting-the-shape-attribute-is-deprecated > z_data.shape = shape ^^^^^^^^^^^^ E DeprecationWarning: Setting the shape on a NumPy array has been deprecated in NumPy 2.5. E As an alternative, you can create a new view using np.reshape (with copy=False if needed). PR checklist "closes #0000" is in the body of the PR description to link the related issue new and changed code is tested [n/a] Plotting related features are demonstrated in an example [n/a] New Features and API Changes are noted with a directive and release note [n/a] Documentation complies with general and docstring guidelines
Open Graph Description: PR summary Fixes #30981. Numpy has deprecated assigning a shape to an array. https://numpy.org/devdocs/release/2.5.0-notes.html#setting-the-shape-attribute-is-deprecated > z_data.shape =...
X Description: PR summary Fixes #30981. Numpy has deprecated assigning a shape to an array. https://numpy.org/devdocs/release/2.5.0-notes.html#setting-the-shape-attribute-is-deprecated > z_data.sha...
Opengraph URL: https://github.com/matplotlib/matplotlib/pull/30985
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:c18bb717-6ab9-805e-7f28-37f993d8cabb |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8784:2D422D:4B0D01:634846:6A51C7F5 |
| html-safe-nonce | 7f209afac52a53b22144e5c1b863400561063a7f82c6b799225179a16aa0ac3f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Nzg0OjJENDIyRDo0QjBEMDE6NjM0ODQ2OjZBNTFDN0Y1IiwidmlzaXRvcl9pZCI6IjkwOTY3NjQzNzMwODU1NzMwMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 306d3026fb07103b0a40b2999922190eaeb8a4c863bd2e1f3961ba51a241db5f |
| hovercard-subject-tag | pull_request:3184298212 |
| 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/30985/files |
| twitter:image | https://avatars.githubusercontent.com/u/10599679?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/10599679?s=400&v=4 |
| og:image:alt | PR summary Fixes #30981. Numpy has deprecated assigning a shape to an array. https://numpy.org/devdocs/release/2.5.0-notes.html#setting-the-shape-attribute-is-deprecated > z_data.shape =... |
| 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