{"action":"created","issue":{"url":"https://api.github.com/repos/matplotlib/matplotlib/issues/4292","labels_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/4292/labels{/name}","comments_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/4292/comments","events_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/4292/events","html_url":"https://github.com/matplotlib/matplotlib/issues/4292","id":64999461,"number":4292,"title":"Annotation with negative axes fraction coordinate placed incorrectly with v1.4.3","user":{"login":"Stretch97","id":4099759,"avatar_url":"https://avatars.githubusercontent.com/u/4099759?v=3","gravatar_id":"","url":"https://api.github.com/users/Stretch97","html_url":"https://github.com/Stretch97","followers_url":"https://api.github.com/users/Stretch97/followers","following_url":"https://api.github.com/users/Stretch97/following{/other_user}","gists_url":"https://api.github.com/users/Stretch97/gists{/gist_id}","starred_url":"https://api.github.com/users/Stretch97/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Stretch97/subscriptions","organizations_url":"https://api.github.com/users/Stretch97/orgs","repos_url":"https://api.github.com/users/Stretch97/repos","events_url":"https://api.github.com/users/Stretch97/events{/privacy}","received_events_url":"https://api.github.com/users/Stretch97/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/matplotlib/matplotlib/labels/API%20Changes","name":"API Changes","color":"000000"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/matplotlib/matplotlib/milestones/19","html_url":"https://github.com/matplotlib/matplotlib/milestones/Color%20overhaul","labels_url":"https://api.github.com/repos/matplotlib/matplotlib/milestones/19/labels","id":982168,"number":19,"title":"Color overhaul","description":"v2.0.0 milestone\r\n\r\nThe v2.0 will be based on the 1.4.3 release and contain only default color changes and bug-fixes.","creator":{"login":"tacaswell","id":199813,"avatar_url":"https://avatars.githubusercontent.com/u/199813?v=3","gravatar_id":"","url":"https://api.github.com/users/tacaswell","html_url":"https://github.com/tacaswell","followers_url":"https://api.github.com/users/tacaswell/followers","following_url":"https://api.github.com/users/tacaswell/following{/other_user}","gists_url":"https://api.github.com/users/tacaswell/gists{/gist_id}","starred_url":"https://api.github.com/users/tacaswell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tacaswell/subscriptions","organizations_url":"https://api.github.com/users/tacaswell/orgs","repos_url":"https://api.github.com/users/tacaswell/repos","events_url":"https://api.github.com/users/tacaswell/events{/privacy}","received_events_url":"https://api.github.com/users/tacaswell/received_events","type":"User","site_admin":false},"open_issues":12,"closed_issues":8,"state":"open","created_at":"2015-02-17T00:47:12Z","updated_at":"2015-03-28T23:56:36Z","due_on":"2015-04-30T04:00:00Z","closed_at":null},"comments":13,"created_at":"2015-03-28T23:04:50Z","updated_at":"2015-03-30T03:30:36Z","closed_at":null,"body":"I am finding that annotations placed outside of axes get placed incorrectly in v1.4.3.  Here is an example:\r\n\r\n    import matplotlib.pyplot as plt\r\n    import matplotlib as mpl\r\n    \r\n    fig, ax = plt.subplots()\r\n    \r\n    ax.annotate('+ pts', \r\n        xytext = [40, 20], textcoords = 'axes points', \\\r\n        xy = [40, 20], xycoords = 'axes points', fontsize = 32)\r\n    ax.annotate('- pts', \r\n        xytext = [40, -20], textcoords = 'axes points', \\\r\n        xy = [40, -20], xycoords = 'axes points', fontsize = 32)\r\n    ax.annotate('+ frac', \r\n        xytext = [0.5, 0.1], textcoords = 'axes fraction', \\\r\n        xy = [0.5, 0.1], xycoords = 'axes fraction', fontsize = 32)\r\n    ax.annotate('- frac', \r\n        xytext = [0.5, -0.1], textcoords = 'axes fraction', \\\r\n        xy = [0.5, -0.1], xycoords = 'axes fraction', fontsize = 32)\r\n    plt.savefig('test' + mpl.__version__ + '.png')\r\n\r\nIn matplotlib v1.4.2 the plot looks like this:\r\n![test1 4 2](https://cloud.githubusercontent.com/assets/4099759/6883289/4627552e-d56c-11e4-8518-543d4dee233e.png)\r\n\r\nIn matplotlib v1.4.3 the plot looks like this:\r\n![test1 4 3](https://cloud.githubusercontent.com/assets/4099759/6883290/4d13ae3c-d56c-11e4-85f1-dd4b195dc9d6.png)\r\n\r\nApparently v1.4.3 takes a negative axes fraction (or points) and wraps it around to the top of the axes."},"comment":{"url":"https://api.github.com/repos/matplotlib/matplotlib/issues/comments/87529493","html_url":"https://github.com/matplotlib/matplotlib/issues/4292#issuecomment-87529493","issue_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/4292","id":87529493,"user":{"login":"Stretch97","id":4099759,"avatar_url":"https://avatars.githubusercontent.com/u/4099759?v=3","gravatar_id":"","url":"https://api.github.com/users/Stretch97","html_url":"https://github.com/Stretch97","followers_url":"https://api.github.com/users/Stretch97/followers","following_url":"https://api.github.com/users/Stretch97/following{/other_user}","gists_url":"https://api.github.com/users/Stretch97/gists{/gist_id}","starred_url":"https://api.github.com/users/Stretch97/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Stretch97/subscriptions","organizations_url":"https://api.github.com/users/Stretch97/orgs","repos_url":"https://api.github.com/users/Stretch97/repos","events_url":"https://api.github.com/users/Stretch97/events{/privacy}","received_events_url":"https://api.github.com/users/Stretch97/received_events","type":"User","site_admin":false},"created_at":"2015-03-30T03:30:36Z","updated_at":"2015-03-30T03:30:36Z","body":"What about specifying the origin in normalized axes coordinates?  That would combine the flexibility of the `OffsetFrom` class with the simplicity of just adding a kwarg to `annotate`."}}