Title: Annotation with negative axes fraction coordinate placed incorrectly with v1.4.3 · Issue #4292 · matplotlib/matplotlib · GitHub
Open Graph Title: Annotation with negative axes fraction coordinate placed incorrectly with v1.4.3 · Issue #4292 · matplotlib/matplotlib
X Title: Annotation with negative axes fraction coordinate placed incorrectly with v1.4.3 · Issue #4292 · matplotlib/matplotlib
Description: I am finding that annotations placed outside of axes get placed incorrectly in v1.4.3. Here is an example: import matplotlib.pyplot as plt import matplotlib as mpl fig, ax = plt.subplots() ax.annotate('+ pts', xytext = [40, 20], textcoor...
Open Graph Description: I am finding that annotations placed outside of axes get placed incorrectly in v1.4.3. Here is an example: import matplotlib.pyplot as plt import matplotlib as mpl fig, ax = plt.subplots() ax.annot...
X Description: I am finding that annotations placed outside of axes get placed incorrectly in v1.4.3. Here is an example: import matplotlib.pyplot as plt import matplotlib as mpl fig, ax = plt.subplots() ax.annot...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/4292
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Annotation with negative axes fraction coordinate placed incorrectly with v1.4.3","articleBody":"I am finding that annotations placed outside of axes get placed incorrectly in v1.4.3. Here is an example:\n\n```\nimport matplotlib.pyplot as plt\nimport matplotlib as mpl\n\nfig, ax = plt.subplots()\n\nax.annotate('+ pts', \n xytext = [40, 20], textcoords = 'axes points', \\\n xy = [40, 20], xycoords = 'axes points', fontsize = 32)\nax.annotate('- pts', \n xytext = [40, -20], textcoords = 'axes points', \\\n xy = [40, -20], xycoords = 'axes points', fontsize = 32)\nax.annotate('+ frac', \n xytext = [0.5, 0.1], textcoords = 'axes fraction', \\\n xy = [0.5, 0.1], xycoords = 'axes fraction', fontsize = 32)\nax.annotate('- frac', \n xytext = [0.5, -0.1], textcoords = 'axes fraction', \\\n xy = [0.5, -0.1], xycoords = 'axes fraction', fontsize = 32)\nplt.savefig('test' + mpl.__version__ + '.png')\n```\n\nIn matplotlib v1.4.2 the plot looks like this:\n\n\nIn matplotlib v1.4.3 the plot looks like this:\n\n\nApparently v1.4.3 takes a negative axes fraction (or points) and wraps it around to the top of the axes.\n","author":{"url":"https://github.com/breedlun","@type":"Person","name":"breedlun"},"datePublished":"2015-03-28T23:04:50.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":21},"url":"https://github.com/4292/matplotlib/issues/4292"}
| 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:13a2eafe-6280-004a-7802-a3642c8fece5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C3B6:18C7E2:E20D8A:12E794F:6A5325C6 |
| html-safe-nonce | 157c2af67ae5c8509c5d0786dd29604ccd24c029d066e45e325216e3f1622847 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDM0I2OjE4QzdFMjpFMjBEOEE6MTJFNzk0Rjo2QTUzMjVDNiIsInZpc2l0b3JfaWQiOiIxMTQ0MzU5OTUyOTQyNTcyOTk4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 5a282e2de0eda1430ebf062aeaafc261f7f6a74bf7b620ae80c7f0b987cc2bc7 |
| hovercard-subject-tag | issue:64999461 |
| 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/4292/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f72f609b35fd7f630ebd236a57fffe34b9652b7953b8e0662ba0c4ee8533d457/matplotlib/matplotlib/issues/4292 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f72f609b35fd7f630ebd236a57fffe34b9652b7953b8e0662ba0c4ee8533d457/matplotlib/matplotlib/issues/4292 |
| og:image:alt | I am finding that annotations placed outside of axes get placed incorrectly in v1.4.3. Here is an example: import matplotlib.pyplot as plt import matplotlib as mpl fig, ax = plt.subplots() ax.annot... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | breedlun |
| 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