Title: [Doc]: FancyBboxPatch shows a wrong type hint for `xy` parameter. · Issue #26222 · matplotlib/matplotlib · GitHub
Open Graph Title: [Doc]: FancyBboxPatch shows a wrong type hint for `xy` parameter. · Issue #26222 · matplotlib/matplotlib
X Title: [Doc]: FancyBboxPatch shows a wrong type hint for `xy` parameter. · Issue #26222 · matplotlib/matplotlib
Description: Documentation Link https://matplotlib.org/stable/api/_as_gen/matplotlib.patches.FancyBboxPatch.html Problem FancyBboxPatch shows float as the suggested type for xy parameter. However 'xy' should be a tuple of two floats. Seem like it is ...
Open Graph Description: Documentation Link https://matplotlib.org/stable/api/_as_gen/matplotlib.patches.FancyBboxPatch.html Problem FancyBboxPatch shows float as the suggested type for xy parameter. However 'xy' should be...
X Description: Documentation Link https://matplotlib.org/stable/api/_as_gen/matplotlib.patches.FancyBboxPatch.html Problem FancyBboxPatch shows float as the suggested type for xy parameter. However 'xy' s...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/26222
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Doc]: FancyBboxPatch shows a wrong type hint for `xy` parameter.","articleBody":"### Documentation Link\n\nhttps://matplotlib.org/stable/api/_as_gen/matplotlib.patches.FancyBboxPatch.html\n\n### Problem\n\nFancyBboxPatch shows `float` as the suggested type for `xy` parameter. However 'xy' should be a tuple of two floats. Seem like it is caused by missing parenthesis.\n\n### Suggested improvement\n\nChange the type hint form `xy: float, float` to `xy: (float, float)`","author":{"url":"https://github.com/Geometrein","@type":"Person","name":"Geometrein"},"datePublished":"2023-06-30T13:49:51.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/26222/matplotlib/issues/26222"}
| 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:9d598540-1e68-ecf4-785b-fa0a31e76d20 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EBF2:206F88:12350B1:182D11B:6A54262B |
| html-safe-nonce | 14274db6238b1d97cb8a115d40c2c0f7a0cf2725b8212c7be14e63a275dc2506 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQkYyOjIwNkY4ODoxMjM1MEIxOjE4MkQxMUI6NkE1NDI2MkIiLCJ2aXNpdG9yX2lkIjoiNDUzMjQ0OTc1NzcwNTI4MzExNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 01ef3cea0e9e350c7ee4252a55b854a7f93fec3abb33bde9f33e9d4456b22268 |
| hovercard-subject-tag | issue:1782566287 |
| 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/26222/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4a87fc3b71cdade6bd8225c827d0f682d9ffe68d49e2c8b5cd7c7d796ca021cd/matplotlib/matplotlib/issues/26222 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4a87fc3b71cdade6bd8225c827d0f682d9ffe68d49e2c8b5cd7c7d796ca021cd/matplotlib/matplotlib/issues/26222 |
| og:image:alt | Documentation Link https://matplotlib.org/stable/api/_as_gen/matplotlib.patches.FancyBboxPatch.html Problem FancyBboxPatch shows float as the suggested type for xy parameter. However 'xy' should be... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Geometrein |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| 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 | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width