Title: Do not fail when markers are numpy integers by has2k1 · Pull Request #30838 · matplotlib/matplotlib · GitHub
Open Graph Title: Do not fail when markers are numpy integers by has2k1 · Pull Request #30838 · matplotlib/matplotlib
X Title: Do not fail when markers are numpy integers by has2k1 · Pull Request #30838 · matplotlib/matplotlib
Description: PR summary Do not fail when marker values are numpy integers e.g. np.int64(4). The rationale is, matplotlib exists in an ecosystem where pandas and numpy container types are prevalent. When the containers (pd.Series, np.array) contain only integer values, they do not preserve the original int type when the values come out. i.e. ints go in np.int64s come out. With this PR an int type marker that goes into these containers will still recognised as a marker when it comes out. closes #30836 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 Documentation complies with general and docstring guidelines
Open Graph Description: PR summary Do not fail when marker values are numpy integers e.g. np.int64(4). The rationale is, matplotlib exists in an ecosystem where pandas and numpy container types are prevalent. When the con...
X Description: PR summary Do not fail when marker values are numpy integers e.g. np.int64(4). The rationale is, matplotlib exists in an ecosystem where pandas and numpy container types are prevalent. When the con...
Opengraph URL: https://github.com/matplotlib/matplotlib/pull/30838
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:2e0dcab7-2d26-6bf3-c008-758f887f8ae4 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | DD64:148224:3D8D:4B31:6A52331F |
| html-safe-nonce | 0f43bbcd901c89398a76894f108898b30aff6ee2cb7a5d667081d6dc55c30375 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERDY0OjE0ODIyNDozRDhEOjRCMzE6NkE1MjMzMUYiLCJ2aXNpdG9yX2lkIjoiMTA5ODAzMjQ1NTcwNzkzMTQyMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 54ae1fd9f10eccaa6a32618ef382bebb8027d30a52b6d3761076413b03649e2b |
| hovercard-subject-tag | pull_request:3093849620 |
| 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/30838/files |
| twitter:image | https://avatars.githubusercontent.com/u/780341?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/780341?s=400&v=4 |
| og:image:alt | PR summary Do not fail when marker values are numpy integers e.g. np.int64(4). The rationale is, matplotlib exists in an ecosystem where pandas and numpy container types are prevalent. When the con... |
| 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 | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width