Title: Drawing an arrow using axis.annotate raises DeprecationWarning · Issue #3527 · matplotlib/matplotlib · GitHub
Open Graph Title: Drawing an arrow using axis.annotate raises DeprecationWarning · Issue #3527 · matplotlib/matplotlib
X Title: Drawing an arrow using axis.annotate raises DeprecationWarning · Issue #3527 · matplotlib/matplotlib
Description: In matplotlib 1.4.0 the following code: fig=plt.figure() ax=fig.add_subplot(111) plt.plot([0,1],[0,1]) ax.annotate("Example Arrow", xy=(0.5, 0.5), xytext=(0.3, 0.6), arrowprops=dict(arrowstyle="->")) raises many DeprecationWarning of the...
Open Graph Description: In matplotlib 1.4.0 the following code: fig=plt.figure() ax=fig.add_subplot(111) plt.plot([0,1],[0,1]) ax.annotate("Example Arrow", xy=(0.5, 0.5), xytext=(0.3, 0.6), arrowprops=dict(arrowstyle="->"...
X Description: In matplotlib 1.4.0 the following code: fig=plt.figure() ax=fig.add_subplot(111) plt.plot([0,1],[0,1]) ax.annotate("Example Arrow", xy=(0.5, 0.5), xytext=(0.3, 0.6), arrowprops=dict(arrow...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/3527
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Drawing an arrow using axis.annotate raises DeprecationWarning","articleBody":"In matplotlib 1.4.0 the following code:\n\n```\nfig=plt.figure()\nax=fig.add_subplot(111)\nplt.plot([0,1],[0,1])\nax.annotate(\"Example Arrow\", xy=(0.5, 0.5),\n xytext=(0.3, 0.6), arrowprops=dict(arrowstyle=\"->\"))\n```\n\nraises many `DeprecationWarning` of the form:\n\n.../python2.7/site-packages/matplotlib/bezier.py:298: DeprecationWarning: using a non-integer number instead of an integer will result in an error in the future\n path_out = Path(concat([verts_right, path.vertices[i:]]),\n\nPresumably this is due to the recent changes to `Annotation`, switching from `xytext` to `xyann`. There doesn't seem to be any way for the user to avoid this when drawing an arrow annotation.\n\nThanks!\n","author":{"url":"https://github.com/philippjfr","@type":"Person","name":"philippjfr"},"datePublished":"2014-09-17T13:33:35Z","url":"https://github.com/matplotlib/matplotlib/issues/3527"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:8514923d-92da-f1a1-94cf-72fb5f9d23a2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EAAE:5CA6C:1556DDB:1D08D56:6B067C83 |
| html-safe-nonce | ab3bcb2c4acc616ba885a92cd45fee888c6ce600bd41573d0f983cb9309094b7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQUFFOjVDQTZDOjE1NTZEREI6MUQwOEQ1Njo2QjA2N0M4MyIsInZpc2l0b3JfaWQiOiI4NzM0NzQ0NzI0NzU5ODA1MDU5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 65876436abc98ff7ef26e5cd0d9931e1d35956fa78000e70776a98df0c309841 |
| hovercard-subject-tag | issue:43011100 |
| 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/3527/issue_layout |
| twitter:image | https://opengraph.githubassets.com/363db73c560b63de007f145b931116799c7a3dc865047079bf07e90ed3d7457f/matplotlib/matplotlib/issues/3527 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/363db73c560b63de007f145b931116799c7a3dc865047079bf07e90ed3d7457f/matplotlib/matplotlib/issues/3527 |
| og:image:alt | In matplotlib 1.4.0 the following code: fig=plt.figure() ax=fig.add_subplot(111) plt.plot([0,1],[0,1]) ax.annotate("Example Arrow", xy=(0.5, 0.5), xytext=(0.3, 0.6), arrowprops=dict(arrowstyle="->"... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | philippjfr |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4462ff7ebfd3d551f202659f2423dae617b6849d23b1df6465dc504ef497d14a |
| 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 | 6d3909414814ff86ce7da4c51a0f4918a13fb41b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width