{"action":"opened","issue":{"url":"https://api.github.com/repos/PmagPy/PmagPy/issues/448","repository_url":"https://api.github.com/repos/PmagPy/PmagPy","labels_url":"https://api.github.com/repos/PmagPy/PmagPy/issues/448/labels{/name}","comments_url":"https://api.github.com/repos/PmagPy/PmagPy/issues/448/comments","events_url":"https://api.github.com/repos/PmagPy/PmagPy/issues/448/events","html_url":"https://github.com/PmagPy/PmagPy/issues/448","id":367930362,"node_id":"MDU6SXNzdWUzNjc5MzAzNjI=","number":448,"title":"cont_rot.py example fails with cartopy","user":{"login":"moonshoes87","id":1836578,"node_id":"MDQ6VXNlcjE4MzY1Nzg=","avatar_url":"https://avatars3.githubusercontent.com/u/1836578?v=4","gravatar_id":"","url":"https://api.github.com/users/moonshoes87","html_url":"https://github.com/moonshoes87","followers_url":"https://api.github.com/users/moonshoes87/followers","following_url":"https://api.github.com/users/moonshoes87/following{/other_user}","gists_url":"https://api.github.com/users/moonshoes87/gists{/gist_id}","starred_url":"https://api.github.com/users/moonshoes87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moonshoes87/subscriptions","organizations_url":"https://api.github.com/users/moonshoes87/orgs","repos_url":"https://api.github.com/users/moonshoes87/repos","events_url":"https://api.github.com/users/moonshoes87/events{/privacy}","received_events_url":"https://api.github.com/users/moonshoes87/received_events","type":"User","site_admin":false},"labels":[{"id":500827042,"node_id":"MDU6TGFiZWw1MDA4MjcwNDI=","url":"https://api.github.com/repos/PmagPy/PmagPy/labels/Bug%20-%20Affects%20Features","name":"Bug - Affects Features","color":"b60205","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-08T19:53:50Z","updated_at":"2018-10-08T19:53:50Z","closed_at":null,"author_association":"MEMBER","body":"cont\\_rot.py is not working correctly with cartopy.\r\n\r\n**What command was run:**\r\n\r\n`cont_rot.py -con af:sam -prj ortho -eye -20 0 -sym k-  1 -age 180 -res l  -fmt png`\r\n\r\n**What happened:**\r\n\r\n    Traceback (most recent call last):\r\n      File \"/Users/nebula/anaconda3/lib/python3.6/tkinter/__init__.py\", line 1702, in __call__\r\n    return self.func(*args)\r\n      File \"/Users/nebula/anaconda3/lib/python3.6/tkinter/__init__.py\", line 746, in callit\r\n    func(*args)\r\n      File \"/Users/nebula/anaconda3/lib/python3.6/site-packages/matplotlib/backends/_backend_tk.py\", line 310, in idle_draw\r\n    self.draw()\r\n      File \"/Users/nebula/anaconda3/lib/python3.6/site-packages/matplotlib/backends/backend_tkagg.py\", line 12, in draw\r\n    super(FigureCanvasTkAgg, self).draw()\r\n      File \"/Users/nebula/anaconda3/lib/python3.6/site-packages/matplotlib/backends/backend_agg.py\", line 437, in draw\r\n    self.figure.draw(self.renderer)\r\n      File \"/Users/nebula/anaconda3/lib/python3.6/site-packages/matplotlib/artist.py\", line 55, in draw_wrapper\r\n    return draw(artist, renderer, *args, **kwargs)\r\n      File \"/Users/nebula/anaconda3/lib/python3.6/site-packages/matplotlib/figure.py\", line 1493, in draw\r\n    renderer, self, artists, self.suppressComposite)\r\n      File \"/Users/nebula/anaconda3/lib/python3.6/site-packages/matplotlib/image.py\", line 141, in _draw_list_compositing_images\r\n    a.draw(renderer)\r\n      File \"/Users/nebula/anaconda3/lib/python3.6/site-packages/matplotlib/artist.py\", line 55, in draw_wrapper\r\n    return draw(artist, renderer, *args, **kwargs)\r\n      File \"/Users/nebula/anaconda3/lib/python3.6/site-packages/cartopy/mpl/geoaxes.py\", line 385, in draw\r\n    inframe=inframe)\r\n      File \"/Users/nebula/anaconda3/lib/python3.6/site-packages/matplotlib/artist.py\", line 55, in draw_wrapper\r\n    return draw(artist, renderer, *args, **kwargs)\r\n      File \"/Users/nebula/anaconda3/lib/python3.6/site-packages/matplotlib/axes/_base.py\", line 2635, in draw\r\n    mimage._draw_list_compositing_images(renderer, self, artists)\r\n      File \"/Users/nebula/anaconda3/lib/python3.6/site-packages/matplotlib/image.py\", line 141, in _ draw_list_compositing_images\r\n    a.draw(renderer)\r\n      File \"/Users/nebula/anaconda3/lib/python3.6/site-packages/matplotlib/artist.py\", line 55, in draw_wrapper\r\n    return draw(artist, renderer, *args, **kwargs)\r\n      File \"/Users/nebula/anaconda3/lib/python3.6/site-packages/matplotlib/lines.py\", line 756, in draw\r\n    tpath, affine = (self._get_transformed_path()\r\n      File \"/Users/nebula/anaconda3/lib/python3.6/site-packages/matplotlib/transforms.py\", line 2848, in get_transformed_path_and_affine\r\n    self._revalidate()\r\n      File \"/Users/nebula/anaconda3/lib/python3.6/site-packages/matplotlib/transforms.py\", line 2825, in _revalidate\r\n    self._transform.transform_non_affine(self._path.vertices),\r\n      File \"/Users/nebula/anaconda3/lib/python3.6/site-packages/matplotlib/transforms.py\", line 2482, in transform_non_affine\r\n    return self._a.transform_non_affine(points)\r\n      File \"/Users/nebula/anaconda3/lib/python3.6/site-packages/cartopy/mpl/geoaxes.py\", line 137, in transform_non_affine\r\n    xy[:, 0], xy[:, 1])[:, 0:2]\r\n      File \"lib/cartopy/_crs.pyx\", line 381, in cartopy._crs.CRS.transform_points\r\n    IndexError: Out of bounds on buffer access (axis 0)\r\n\r\n**What I expected to happen:**\r\n\r\nThe figure should have been drawn with no error.\r\n\r\n**Screenshot(s):**\r\n\r\nThe image is (at least) partially drawn:\r\n\r\n<img width=\"623\" alt=\"screen shot 2018-10-08 at 12 51 14 pm\" src=\"https://user-images.githubusercontent.com/1836578/46630400-f5d6df00-caf8-11e8-8f3c-67f0dad79f4b.png\">\r\n\r\n\r\n@ltauxe, what do you want to do about this? "}}
{"actor":{"display_login":"moonshoes87"}}