Title: review how we duck-type non-numpy inputs · Issue #16402 · matplotlib/matplotlib · GitHub
Open Graph Title: review how we duck-type non-numpy inputs · Issue #16402 · matplotlib/matplotlib
X Title: review how we duck-type non-numpy inputs · Issue #16402 · matplotlib/matplotlib
Description: We currently do a fair amount of ad-hoc normalization / edge case handling for when we get pandas (or xarray or TF or ...) objects that are close to numpy but not quite (for example #16347 which uses a warning context manager which is ex...
Open Graph Description: We currently do a fair amount of ad-hoc normalization / edge case handling for when we get pandas (or xarray or TF or ...) objects that are close to numpy but not quite (for example #16347 which us...
X Description: We currently do a fair amount of ad-hoc normalization / edge case handling for when we get pandas (or xarray or TF or ...) objects that are close to numpy but not quite (for example #16347 which us...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/16402
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"review how we duck-type non-numpy inputs","articleBody":"We currently do a fair amount of ad-hoc normalization / edge case handling for when we get pandas (or xarray or TF or ...) objects that are _close_ to numpy but not quite (for example https://github.com/matplotlib/matplotlib/pull/16347 which uses a warning context manager which is extra not-thread-safe in other places we check of `obj.values`).\r\n\r\nCan we centralize / streamline this logic?","author":{"url":"https://github.com/tacaswell","@type":"Person","name":"tacaswell"},"datePublished":"2020-02-03T20:44:47.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/16402/matplotlib/issues/16402"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:64c6dc41-7fdf-6906-b29a-91d3633b6a3a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A60C:DEB92:7467F2:9F6369:6A57DC30 |
| html-safe-nonce | e0241da56e9fe3163e21b63ec5f40cc446861423f1cd2c7bd8b18ddac8ec6277 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNjBDOkRFQjkyOjc0NjdGMjo5RjYzNjk6NkE1N0RDMzAiLCJ2aXNpdG9yX2lkIjoiMzA4MDU0NTEyMTM3ODc1MzU4NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a8d48b87f2684894e40babf24c665aacf86a1144b105aad4b40f1443b80f0d9a |
| hovercard-subject-tag | issue:559323416 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/matplotlib/matplotlib/16402/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b073b760bb5a786fba3214d2845627030f51c670a54ae92c1133a51733c7a1ed/matplotlib/matplotlib/issues/16402 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b073b760bb5a786fba3214d2845627030f51c670a54ae92c1133a51733c7a1ed/matplotlib/matplotlib/issues/16402 |
| og:image:alt | We currently do a fair amount of ad-hoc normalization / edge case handling for when we get pandas (or xarray or TF or ...) objects that are close to numpy but not quite (for example #16347 which us... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tacaswell |
| hostname | github.com |
| expected-hostname | github.com |
| None | 837767abbd14b05f219fd812ef2842c659968b63619e1b966dded83972ab5bca |
| turbo-cache-control | no-preview |
| 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 | 36b9c371e4e031091f1b89adf913d9e6993943df |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width