{"action":"created","issue":{"url":"https://api.github.com/repos/matplotlib/matplotlib/issues/1891","labels_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/1891/labels{/name}","comments_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/1891/comments","events_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/1891/events","html_url":"https://github.com/matplotlib/matplotlib/issues/1891","id":12979558,"number":1891,"title":"Animation module errors out when using Python3","user":{"login":"gns-ank","id":240938,"avatar_url":"https://avatars.githubusercontent.com/u/240938?v=3","gravatar_id":"","url":"https://api.github.com/users/gns-ank","html_url":"https://github.com/gns-ank","followers_url":"https://api.github.com/users/gns-ank/followers","following_url":"https://api.github.com/users/gns-ank/following{/other_user}","gists_url":"https://api.github.com/users/gns-ank/gists{/gist_id}","starred_url":"https://api.github.com/users/gns-ank/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gns-ank/subscriptions","organizations_url":"https://api.github.com/users/gns-ank/orgs","repos_url":"https://api.github.com/users/gns-ank/repos","events_url":"https://api.github.com/users/gns-ank/events{/privacy}","received_events_url":"https://api.github.com/users/gns-ank/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/matplotlib/matplotlib/milestones/10","html_url":"https://github.com/matplotlib/matplotlib/milestones/v1.4.0","labels_url":"https://api.github.com/repos/matplotlib/matplotlib/milestones/10/labels","id":332714,"number":10,"title":"v1.4.0","description":"","creator":{"login":"pelson","id":810663,"avatar_url":"https://avatars.githubusercontent.com/u/810663?v=3","gravatar_id":"","url":"https://api.github.com/users/pelson","html_url":"https://github.com/pelson","followers_url":"https://api.github.com/users/pelson/followers","following_url":"https://api.github.com/users/pelson/following{/other_user}","gists_url":"https://api.github.com/users/pelson/gists{/gist_id}","starred_url":"https://api.github.com/users/pelson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pelson/subscriptions","organizations_url":"https://api.github.com/users/pelson/orgs","repos_url":"https://api.github.com/users/pelson/repos","events_url":"https://api.github.com/users/pelson/events{/privacy}","received_events_url":"https://api.github.com/users/pelson/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":420,"state":"closed","created_at":"2013-05-13T15:02:38Z","updated_at":"2014-11-07T14:07:50Z","due_on":null,"closed_at":"2014-10-10T18:20:20Z"},"comments":34,"created_at":"2013-04-09T16:20:15Z","updated_at":"2015-09-03T02:12:14Z","closed_at":"2014-05-13T23:53:20Z","body":"I used the double pendulum example and it did not work with the latest version of Matplotlib and Py3k on Arch Linux. However, it worked with Python2.7. I was using\r\n\r\n    #! /usr/bin/env python3\r\n\r\nas my shebang in the script.\r\n\r\nThe exact script which I used is here: https://gist.github.com/gns-ank/5347084#file-double_pendulum-py\r\n\r\nThe error log:\r\n\r\n    Traceback (most recent call last):\r\n      File \"./double_pendulum_animated.py\", line 88, in <module>\r\n        ani.save('double_pendulum.mp4', fps=15)\r\n      File \"/usr/lib/python3.3/site-packages/matplotlib/animation.py\", line 616, in save\r\n        writer.grab_frame()\r\n      File \"/usr/lib/python3.3/site-packages/matplotlib/animation.py\", line 200, in grab_frame\r\n        dpi=self.dpi)\r\n      File \"/usr/lib/python3.3/site-packages/matplotlib/figure.py\", line 1371, in savefig\r\n        self.canvas.print_figure(*args, **kwargs)\r\n      File \"/usr/lib/python3.3/site-packages/matplotlib/backend_bases.py\", line 2101, in print_figure\r\n        self.figure.dpi = origDPI\r\n      File \"/usr/lib/python3.3/site-packages/matplotlib/figure.py\", line 375, in _set_dpi\r\n        self.dpi_scale_trans.clear().scale(dpi, dpi)\r\n      File \"/usr/lib/python3.3/site-packages/matplotlib/transforms.py\", line 1751, in clear\r\n        self._mtx = np.identity(3)\r\n      File \"/usr/lib/python3.3/site-packages/numpy/core/numeric.py\", line 1913, in identity\r\n        from numpy import eye\r\n      File \"<frozen importlib._bootstrap>\", line 1609, in _handle_fromlist\r\n    UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte\r\n    \r\n    Press ENTER or type command to continue\r\n"},"comment":{"url":"https://api.github.com/repos/matplotlib/matplotlib/issues/comments/137301785","html_url":"https://github.com/matplotlib/matplotlib/issues/1891#issuecomment-137301785","issue_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/1891","id":137301785,"user":{"login":"wrkyle","id":14102606,"avatar_url":"https://avatars.githubusercontent.com/u/14102606?v=3","gravatar_id":"","url":"https://api.github.com/users/wrkyle","html_url":"https://github.com/wrkyle","followers_url":"https://api.github.com/users/wrkyle/followers","following_url":"https://api.github.com/users/wrkyle/following{/other_user}","gists_url":"https://api.github.com/users/wrkyle/gists{/gist_id}","starred_url":"https://api.github.com/users/wrkyle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wrkyle/subscriptions","organizations_url":"https://api.github.com/users/wrkyle/orgs","repos_url":"https://api.github.com/users/wrkyle/repos","events_url":"https://api.github.com/users/wrkyle/events{/privacy}","received_events_url":"https://api.github.com/users/wrkyle/received_events","type":"User","site_admin":false},"created_at":"2015-09-03T02:12:14Z","updated_at":"2015-09-03T02:12:14Z","body":"I'm using python 3.4.0, with matplotlib 1.3.1 and am just trying to save my animation but get the errors described above. I see that this appears to be solved on your end but on my end I have no idea what to do to get this to function properly. Can anyone help me out?"}}