Title: Deprecate Axes.arrow/pyplot.arrow · Issue #20387 · matplotlib/matplotlib · GitHub
Open Graph Title: Deprecate Axes.arrow/pyplot.arrow · Issue #20387 · matplotlib/matplotlib
X Title: Deprecate Axes.arrow/pyplot.arrow · Issue #20387 · matplotlib/matplotlib
Description: Bug report Bug summary Axes.arrow/pyplot.arrow generates a FancyArrow, which has a rather awkward API (#12768); we typically suggest to use Axes.annotate/pyplot.annotate instead (even the docstring of arrow() does so!). We may want to ke...
Open Graph Description: Bug report Bug summary Axes.arrow/pyplot.arrow generates a FancyArrow, which has a rather awkward API (#12768); we typically suggest to use Axes.annotate/pyplot.annotate instead (even the docstring...
X Description: Bug report Bug summary Axes.arrow/pyplot.arrow generates a FancyArrow, which has a rather awkward API (#12768); we typically suggest to use Axes.annotate/pyplot.annotate instead (even the docstring...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/20387
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Deprecate Axes.arrow/pyplot.arrow","articleBody":"\u003c!--To help us understand and resolve your issue, please fill out the form to the best of your ability.--\u003e\r\n\u003c!--You can feel free to delete the sections that do not apply.--\u003e\r\n\r\n### Bug report\r\n\r\n**Bug summary**\r\n\r\nAxes.arrow/pyplot.arrow generates a FancyArrow, which has a rather awkward API (#12768); we typically suggest to use Axes.annotate/pyplot.annotate instead (even the docstring of arrow() does so!). We may want to keep FancyArrow around for backcompat (it is simple to convert calls to arrow() to `ax.add_patch(FancyArrow(\u003cthe same args\u003e))`), but at least we should consider deprecating the toplevel arrow() function, which is just a bad trap for any new users.\r\n\r\n**Matplotlib version**\r\n\u003c!--Please specify your platform and versions of the relevant libraries you are using:--\u003e\r\n * Operating system: \r\n * Matplotlib version (`import matplotlib; print(matplotlib.__version__)`): 3.4.x\r\n * Matplotlib backend (`print(matplotlib.get_backend())`): \r\n * Python version: \r\n * Jupyter version (if applicable): \r\n * Other libraries: \r\n\r\n\u003c!--Please tell us how you installed matplotlib and python e.g., from source, pip, conda--\u003e\r\n\u003c!--If you installed from conda, please specify which channel you used if not the default--\u003e\r\n\r\n","author":{"url":"https://github.com/anntzer","@type":"Person","name":"anntzer"},"datePublished":"2021-06-08T09:56:30.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/20387/matplotlib/issues/20387"}
| 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:f650b55a-67db-2dd6-805e-4335752acb74 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9274:130837:407FB8:55B50C:6A51C517 |
| html-safe-nonce | 4cda4962b87312a8c42739b820395eb364632d31123e5cda0407adfce9fbe040 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5Mjc0OjEzMDgzNzo0MDdGQjg6NTVCNTBDOjZBNTFDNTE3IiwidmlzaXRvcl9pZCI6IjM4MDkxNzk5NzUxODMwOTA5NjciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 8612a3911f13589f840aef75ecd884ef77944308567c1b528f25efed2277a656 |
| hovercard-subject-tag | issue:914728216 |
| 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/20387/issue_layout |
| twitter:image | https://opengraph.githubassets.com/58510c3ea39aba38dc0bfae15413c3328ad2199e9370ebb536c38d7a6088dace/matplotlib/matplotlib/issues/20387 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/58510c3ea39aba38dc0bfae15413c3328ad2199e9370ebb536c38d7a6088dace/matplotlib/matplotlib/issues/20387 |
| og:image:alt | Bug report Bug summary Axes.arrow/pyplot.arrow generates a FancyArrow, which has a rather awkward API (#12768); we typically suggest to use Axes.annotate/pyplot.annotate instead (even the docstring... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | anntzer |
| 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 | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width