| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:d3797386-f1fd-7d1e-bdda-705b88a2d37e |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D3FE:1F7031:5D77D6:817E42:6A511F7A |
| html-safe-nonce | f965b240dcbf23722851363803d50ac88bfe943fec969557551470fb78b56544 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEM0ZFOjFGNzAzMTo1RDc3RDY6ODE3RTQyOjZBNTExRjdBIiwidmlzaXRvcl9pZCI6IjU0OTQ1MTA0Mjc1NzU0OTI0NzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 74caf16ceba8234bfd91926aa40fddfbce81c0635b007aa50f9cd84da9397aa6 |
| hovercard-subject-tag | pull_request:1066387173 |
| 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 | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/matplotlib/matplotlib/24009/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/1de4aadde2d2e8abe32b9964166c77de2201eb08dec820e5227fe6b589d46719/matplotlib/matplotlib/pull/24009 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1de4aadde2d2e8abe32b9964166c77de2201eb08dec820e5227fe6b589d46719/matplotlib/matplotlib/pull/24009 |
| og:image:alt | Closes #23132.
I've tested locally that this fixes the issue. I can't add a testcase for this specifically, because we don't have pytorch as a test dependency. However, I'd claim th... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | timhoffm |
| hostname | github.com |
| expected-hostname | github.com |
| None | 689b683944b0d7f015d0e776452c970832fa81b82dc15284469b556ecced715b |
| turbo-cache-control | no-cache |
| 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 | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 942b51ed3bd5feee3d5e2719f890a5fe286edbbb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/matplotlib/matplotlib/pull/24009#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fpull%2F24009 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fpull%2F24009 |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=matplotlib%2Fmatplotlib |
| Reload | https://github.com/matplotlib/matplotlib/pull/24009 |
| Reload | https://github.com/matplotlib/matplotlib/pull/24009 |
| Reload | https://github.com/matplotlib/matplotlib/pull/24009 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/24009 |
|
matplotlib
| https://github.com/matplotlib |
| matplotlib | https://github.com/matplotlib/matplotlib |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/24009 |
|
Notifications
| https://github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib |
|
Fork
8.4k
| https://github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib |
|
Star
23k
| https://github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib |
|
Code
| https://github.com/matplotlib/matplotlib |
|
Issues
1.1k
| https://github.com/matplotlib/matplotlib/issues |
|
Pull requests
409
| https://github.com/matplotlib/matplotlib/pulls |
|
Actions
| https://github.com/matplotlib/matplotlib/actions |
|
Projects
| https://github.com/matplotlib/matplotlib/projects |
|
Wiki
| https://github.com/matplotlib/matplotlib/wiki |
|
Security and quality
0
| https://github.com/matplotlib/matplotlib/security |
|
Insights
| https://github.com/matplotlib/matplotlib/pulse |
|
Code
| https://github.com/matplotlib/matplotlib |
|
Issues
| https://github.com/matplotlib/matplotlib/issues |
|
Pull requests
| https://github.com/matplotlib/matplotlib/pulls |
|
Actions
| https://github.com/matplotlib/matplotlib/actions |
|
Projects
| https://github.com/matplotlib/matplotlib/projects |
|
Wiki
| https://github.com/matplotlib/matplotlib/wiki |
|
Security and quality
| https://github.com/matplotlib/matplotlib/security |
|
Insights
| https://github.com/matplotlib/matplotlib/pulse |
| tacaswell | https://github.com/tacaswell |
| matplotlib:main | https://github.com/matplotlib/matplotlib/tree/main |
| timhoffm:fix-pytorch | https://github.com/timhoffm/matplotlib/tree/fix-pytorch |
| Conversation | https://github.com/matplotlib/matplotlib/pull/24009 |
| Commits1 (1) | https://github.com/matplotlib/matplotlib/pull/24009/commits |
| Checks | https://github.com/matplotlib/matplotlib/pull/24009/checks |
| Files changed | https://github.com/matplotlib/matplotlib/pull/24009/files |
| Fix evaluating colormaps on non-numpy arrays | https://github.com/matplotlib/matplotlib/pull/24009#top |
| tacaswell | https://github.com/tacaswell |
| matplotlib:main | https://github.com/matplotlib/matplotlib/tree/main |
| timhoffm:fix-pytorch | https://github.com/timhoffm/matplotlib/tree/fix-pytorch |
|
| https://github.com/timhoffm |
| timhoffm | https://github.com/timhoffm |
| Sep 25, 2022 | https://github.com/matplotlib/matplotlib/pull/24009#issue-1385157229 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/24009 |
| #23132 | https://github.com/matplotlib/matplotlib/issues/23132 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/24009 |
| https://github.com/oscargus |
| oscargus | https://github.com/oscargus |
| Sep 26, 2022 | https://github.com/matplotlib/matplotlib/pull/24009#issuecomment-1258148884 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/24009 |
| https://github.com/jklymak |
| jklymak | https://github.com/jklymak |
|
Sep 26, 2022
| https://github.com/matplotlib/matplotlib/pull/24009#pullrequestreview-1120561131 |
|
View reviewed changes
| https://github.com/matplotlib/matplotlib/pull/24009/files |
| jklymak | https://github.com/jklymak |
| https://github.com/matplotlib/matplotlib/pull/24009#pullrequestreview-1120561131 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/24009 |
| https://github.com/timhoffm |
| timhoffm | https://github.com/timhoffm |
| Sep 26, 2022 | https://github.com/matplotlib/matplotlib/pull/24009#issuecomment-1258331553 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/24009 |
| https://github.com/jklymak |
| jklymak | https://github.com/jklymak |
| Sep 26, 2022 | https://github.com/matplotlib/matplotlib/pull/24009#issuecomment-1258427394 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/24009 |
| https://github.com/timhoffm |
| timhoffm | https://github.com/timhoffm |
| Sep 26, 2022 | https://github.com/matplotlib/matplotlib/pull/24009#issuecomment-1258519192 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/24009 |
|
| https://github.com/timhoffm |
| Fix evaluating colormaps on non-numpy arrays | https://github.com/matplotlib/matplotlib/pull/24009/commits/07268f02bd228829bf1eb987b6839954f17f23d9 |
| 07268f0 | https://github.com/matplotlib/matplotlib/pull/24009/commits/07268f02bd228829bf1eb987b6839954f17f23d9 |
| matplotlib#23132 | https://github.com/matplotlib/matplotlib/issues/23132 |
| https://github.com/timhoffm |
| timhoffm | https://github.com/timhoffm |
| force-pushed | https://github.com/matplotlib/matplotlib/compare/be849c5680b3fd0fe558cea0fd5e53d0a9f1f953..07268f02bd228829bf1eb987b6839954f17f23d9 |
| be849c5 | https://github.com/matplotlib/matplotlib/commit/be849c5680b3fd0fe558cea0fd5e53d0a9f1f953 |
| 07268f0 | https://github.com/matplotlib/matplotlib/commit/07268f02bd228829bf1eb987b6839954f17f23d9 |
|
Compare
| https://github.com/matplotlib/matplotlib/compare/be849c5680b3fd0fe558cea0fd5e53d0a9f1f953..07268f02bd228829bf1eb987b6839954f17f23d9 |
| October 15, 2022 21:15 | https://github.com/matplotlib/matplotlib/pull/24009#event-7595521055 |
| https://github.com/timhoffm |
| timhoffm | https://github.com/timhoffm |
| Oct 15, 2022 | https://github.com/matplotlib/matplotlib/pull/24009#issuecomment-1279833734 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/24009 |
| https://github.com/tacaswell |
| tacaswell | https://github.com/tacaswell |
| v3.6.2 | https://github.com/matplotlib/matplotlib/milestone/75 |
| Oct 20, 2022 | https://github.com/matplotlib/matplotlib/pull/24009#event-7635282298 |
| https://github.com/tacaswell |
| tacaswell | https://github.com/tacaswell |
| 30fbb45 | https://github.com/matplotlib/matplotlib/commit/30fbb45784b7df7b5505bd50dd834de95e3b13ca |
| Oct 20, 2022 | https://github.com/matplotlib/matplotlib/pull/24009#event-7635282863 |
| https://github.com/meeseeksmachine |
| meeseeksmachine | https://github.com/meeseeksmachine |
|
Oct 20, 2022
| https://github.com/matplotlib/matplotlib/pull/24009#ref-pullrequest-1417349033 |
|
Backport PR #24009 on branch v3.6.x (Fix evaluating colormaps on non-numpy arrays)
#24231
| https://github.com/matplotlib/matplotlib/pull/24231 |
| meeseeksmachine | https://github.com/meeseeksmachine |
|
Oct 20, 2022
| https://github.com/matplotlib/matplotlib/pull/24009#ref-commit-0b05b1f |
|
| https://github.com/tacaswell |
|
| https://github.com/meeseeksmachine |
| Backport PR | https://github.com/meeseeksmachine/matplotlib/commit/0b05b1fa3a3d0fc6d5f9bea43dd708540f5afee1 |
| matplotlib#24009 | https://github.com/matplotlib/matplotlib/pull/24009 |
| : Fix evaluating colormaps on non-numpy a… | https://github.com/meeseeksmachine/matplotlib/commit/0b05b1fa3a3d0fc6d5f9bea43dd708540f5afee1 |
| 0b05b1f | https://github.com/meeseeksmachine/matplotlib/commit/0b05b1fa3a3d0fc6d5f9bea43dd708540f5afee1 |
| https://github.com/tacaswell |
| tacaswell | https://github.com/tacaswell |
| Oct 20, 2022 | https://github.com/matplotlib/matplotlib/pull/24009#issuecomment-1286197206 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/24009 |
| QuLogic | https://github.com/QuLogic |
|
Oct 21, 2022
| https://github.com/matplotlib/matplotlib/pull/24009#ref-commit-4a69fc3 |
|
| https://github.com/QuLogic |
| Merge pull request | https://github.com/matplotlib/matplotlib/commit/4a69fc3dfa67545a6ed8a63c9112898273344a82 |
| #24231 | https://github.com/matplotlib/matplotlib/pull/24231 |
| from meeseeksmachine/auto-backport-of-pr-24… | https://github.com/matplotlib/matplotlib/commit/4a69fc3dfa67545a6ed8a63c9112898273344a82 |
| 4a69fc3 | https://github.com/matplotlib/matplotlib/commit/4a69fc3dfa67545a6ed8a63c9112898273344a82 |
| #24009 | https://github.com/matplotlib/matplotlib/pull/24009 |
| https://github.com/timhoffm |
| timhoffm | https://github.com/timhoffm |
| October 21, 2022 03:38 | https://github.com/matplotlib/matplotlib/pull/24009#event-7636858444 |
| https://github.com/ksunden |
| ksunden | https://github.com/ksunden |
|
Feb 20, 2023
| https://github.com/matplotlib/matplotlib/pull/24009#ref-pullrequest-1592305660 |
|
merge up 3.7.0
#25270
| https://github.com/matplotlib/matplotlib/pull/25270 |
| https://github.co/hiddenchars |
| https://github.com/matplotlib/matplotlib/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fpull%2F24009 |
|
| https://github.com/jklymak |
|
jklymak
| https://github.com/jklymak |
|
| https://github.com/matplotlib/matplotlib/pull/24009/files/be849c5680b3fd0fe558cea0fd5e53d0a9f1f953 |
|
v3.6.2
| https://github.com/matplotlib/matplotlib/milestone/75 |
|
[Bug]: call cmap object on torch.tensor will output first element all 0
| https://github.com/matplotlib/matplotlib/issues/23132 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/24009 |
|
| https://github.com/timhoffm |
|
| https://github.com/oscargus |
|
| https://github.com/jklymak |
|
| https://github.com/tacaswell |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |