Title: FIX: Handle uint8 indices properly for colormap lookups by greglucas · Pull Request #24970 · matplotlib/matplotlib · GitHub
Open Graph Title: FIX: Handle uint8 indices properly for colormap lookups by greglucas · Pull Request #24970 · matplotlib/matplotlib
X Title: FIX: Handle uint8 indices properly for colormap lookups by greglucas · Pull Request #24970 · matplotlib/matplotlib
Description: PR Summary Since we use subtraction to compute the lookup table indices we need to cast uints in addition to floats, so we can move the cast outside of the float block. closes #24865 PR Checklist Documentation and Tests Has pytest style unit tests (and pytest passes) [N/A] Documentation is sphinx and numpydoc compliant (the docs should build without error). [N/A] New plotting related features are documented with examples. Release Notes [N/A] New features are marked with a .. versionadded:: directive in the docstring and documented in doc/users/next_whats_new/ [N/A] API changes are marked with a .. versionchanged:: directive in the docstring and documented in doc/api/next_api_changes/ [N/A] Release notes conform with instructions in next_whats_new/README.rst or next_api_changes/README.rst
Open Graph Description: PR Summary Since we use subtraction to compute the lookup table indices we need to cast uints in addition to floats, so we can move the cast outside of the float block. closes #24865 PR Checklist ...
X Description: PR Summary Since we use subtraction to compute the lookup table indices we need to cast uints in addition to floats, so we can move the cast outside of the float block. closes #24865 PR Checklist ...
Opengraph URL: https://github.com/matplotlib/matplotlib/pull/24970
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:9bbaedb6-79fc-6fee-a3fd-6fdef36886cf |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 83F2:1BECEB:8D8FDF:BA7A7E:6A5311AA |
| html-safe-nonce | 9268123eb33fa0ef4b7d81ace54df1ae7f9007e9b577aa9efdae253f51842ee2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4M0YyOjFCRUNFQjo4RDhGREY6QkE3QTdFOjZBNTMxMUFBIiwidmlzaXRvcl9pZCI6IjE5OTAwNjUxOTEzNTA2MzY5NzAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 4a36e145072c5cc026a93b61665773b42748263e1626c345d7269330fa90bb67 |
| hovercard-subject-tag | pull_request:1196789944 |
| 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/24970/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 Since we use subtraction to compute the lookup table indices we need to cast uints in addition to floats, so we can move the cast outside of the float block. closes #24865 PR Checklist ... |
| 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