{"action":"opened","issue":{"url":"https://api.github.com/repos/stevengj/PyPlot.jl/issues/141","labels_url":"https://api.github.com/repos/stevengj/PyPlot.jl/issues/141/labels{/name}","comments_url":"https://api.github.com/repos/stevengj/PyPlot.jl/issues/141/comments","events_url":"https://api.github.com/repos/stevengj/PyPlot.jl/issues/141/events","html_url":"https://github.com/stevengj/PyPlot.jl/issues/141","id":93606853,"number":141,"title":"savefig passes a duplicate keyword argument","user":{"login":"samuela","id":226872,"avatar_url":"https://avatars.githubusercontent.com/u/226872?v=3","gravatar_id":"","url":"https://api.github.com/users/samuela","html_url":"https://github.com/samuela","followers_url":"https://api.github.com/users/samuela/followers","following_url":"https://api.github.com/users/samuela/following{/other_user}","gists_url":"https://api.github.com/users/samuela/gists{/gist_id}","starred_url":"https://api.github.com/users/samuela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samuela/subscriptions","organizations_url":"https://api.github.com/users/samuela/orgs","repos_url":"https://api.github.com/users/samuela/repos","events_url":"https://api.github.com/users/samuela/events{/privacy}","received_events_url":"https://api.github.com/users/samuela/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-07T19:16:07Z","updated_at":"2015-07-07T19:16:07Z","closed_at":null,"body":"I got this error today:\r\n\r\n```julia\r\njulia> savefig(fig, \"lds_pf.pdf\")\r\nERROR: PyError (:PyObject_Call) <type 'exceptions.TypeError'>\r\nTypeError(\"print_figure() got multiple values for keyword argument 'dpi'\",)\r\n  File \"/usr/local/lib/python2.7/site-packages/matplotlib/pyplot.py\", line 577, in savefig\r\n    res = fig.savefig(*args, **kwargs)\r\n  File \"/usr/local/lib/python2.7/site-packages/matplotlib/figure.py\", line 1476, in savefig\r\n    self.canvas.print_figure(*args, **kwargs)\r\n\r\n in pyerr_check at /Users/samuelainsworth/.julia/v0.3/PyCall/src/exception.jl:58\r\n in pycall at /Users/samuelainsworth/.julia/v0.3/PyCall/src/PyCall.jl:91\r\n in savefig at /Users/samuelainsworth/.julia/v0.3/PyPlot/src/PyPlot.jl:371\r\n```\r\n\r\nIt looks like PyPlot is passing a duplicate entry for the keyword argument `dpi`. It's not an internal matplotlib issue because I can click the save button in the plot window and it works fine."}}