Title: New "vector" method to replace "arrow" · Issue #22390 · matplotlib/matplotlib · GitHub
Open Graph Title: New "vector" method to replace "arrow" · Issue #22390 · matplotlib/matplotlib
X Title: New "vector" method to replace "arrow" · Issue #22390 · matplotlib/matplotlib
Description: It was decided in the dev call today that we want to deprecate arrow() because of its awkward dependence on the axis scales. ... As an alternative, we want to introduce a similar replacement vector(x, y, dx, dy, ...) where the parameters...
Open Graph Description: It was decided in the dev call today that we want to deprecate arrow() because of its awkward dependence on the axis scales. ... As an alternative, we want to introduce a similar replacement vector...
X Description: It was decided in the dev call today that we want to deprecate arrow() because of its awkward dependence on the axis scales. ... As an alternative, we want to introduce a similar replacement vector...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/22390
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"New \"vector\" method to replace \"arrow\"","articleBody":"It was decided in the dev call today that we want to deprecate `arrow()` because of its awkward dependence on the axis scales. ...\r\n\r\nAs an alternative, we want to introduce a similar replacement `vector(x, y, dx, dy, ...)` where the parameters are still in data space, but the arrow shape is not tied to the data. This should be implemented based on `FancyArrowPatch` which is also the basis for `annotate()` arrows. The additional parameters will be governed by the `FancyArrowPatch` capabilities, maybe be simply `arrowprops` like in `annotate()`. We may try to make an effort to choose their defaults in a way that will result in an arrow similar to `arrow()` with default settings. Whether that's possible and reasonable is to be tested.\r\n\r\nThe `arrow()` deprecation should point to `vector()` and `annotate()` depending on users needs.\r\n\r\n_Originally posted by @timhoffm in https://github.com/matplotlib/matplotlib/issues/22382#issuecomment-1029506756_","author":{"url":"https://github.com/jklymak","@type":"Person","name":"jklymak"},"datePublished":"2022-02-04T08:14:41.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/22390/matplotlib/issues/22390"}
| 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:207df2eb-5b16-ff75-05d6-74cbdbbee89d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A716:3F66A3:277F06:35DE66:6A5287EB |
| html-safe-nonce | bf01019d6af10f84f14fb6f73b0fbe29adb08e60ba1b408b44a71098f2655189 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNzE2OjNGNjZBMzoyNzdGMDY6MzVERTY2OjZBNTI4N0VCIiwidmlzaXRvcl9pZCI6IjE1NDQwMjMzOTczMjI4ODUwOTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | acc7390ad8ab382b028864b9241f83c42681855f88962734ea2a5409b5a4d13f |
| hovercard-subject-tag | issue:1123926543 |
| 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/22390/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ff8baff5c609b73eb84fd4d8af0d8006e67d0327e97c5bec5dfa6ff6a4d28a4f/matplotlib/matplotlib/issues/22390 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ff8baff5c609b73eb84fd4d8af0d8006e67d0327e97c5bec5dfa6ff6a4d28a4f/matplotlib/matplotlib/issues/22390 |
| og:image:alt | It was decided in the dev call today that we want to deprecate arrow() because of its awkward dependence on the axis scales. ... As an alternative, we want to introduce a similar replacement vector... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jklymak |
| 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 | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width