{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaPy/PyPlot.jl/issues/351","repository_url":"https://api.github.com/repos/JuliaPy/PyPlot.jl","labels_url":"https://api.github.com/repos/JuliaPy/PyPlot.jl/issues/351/labels{/name}","comments_url":"https://api.github.com/repos/JuliaPy/PyPlot.jl/issues/351/comments","events_url":"https://api.github.com/repos/JuliaPy/PyPlot.jl/issues/351/events","html_url":"https://github.com/JuliaPy/PyPlot.jl/issues/351","id":305329584,"number":351,"title":"projection=\"3d\"","user":{"login":"PaulSoderlind","id":9378261,"avatar_url":"https://avatars1.githubusercontent.com/u/9378261?v=4","gravatar_id":"","url":"https://api.github.com/users/PaulSoderlind","html_url":"https://github.com/PaulSoderlind","followers_url":"https://api.github.com/users/PaulSoderlind/followers","following_url":"https://api.github.com/users/PaulSoderlind/following{/other_user}","gists_url":"https://api.github.com/users/PaulSoderlind/gists{/gist_id}","starred_url":"https://api.github.com/users/PaulSoderlind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PaulSoderlind/subscriptions","organizations_url":"https://api.github.com/users/PaulSoderlind/orgs","repos_url":"https://api.github.com/users/PaulSoderlind/repos","events_url":"https://api.github.com/users/PaulSoderlind/events{/privacy}","received_events_url":"https://api.github.com/users/PaulSoderlind/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-14T21:09:15Z","updated_at":"2018-03-14T21:15:18Z","closed_at":null,"author_association":"NONE","body":"does not seem to work after the latest update (to 2.5.0), on Julia 0.6.2, Win 64, with local matplotlib 2.1.2.\r\n\r\nRunning\r\n```\r\nusing PyPlot\r\nfigure()\r\nsubplot(111,projection=\"3d\")\r\n```\r\ngives an error message which starts with\r\n```\r\nERROR: LoadError: PyError (ccall(@pysym(:PyObject_Call), PyPtr, (PyPtr, PyPtr, PyPtr), o, arg, kw)) <class 'ValueError'>\r\nValueError(\"Unknown projection '3d'\",)\r\n  File \"C:\\Miniconda3\\lib\\site-packages\\matplotlib\\pyplot.py\", line 1050, in subplot\r\n    a = fig.add_subplot(*args, **kwargs)\r\n```\r\n\r\n(Also the old syntax, `fig[:add_subplot](111, projection = \"3d\")` fails."},"comment":{"url":"https://api.github.com/repos/JuliaPy/PyPlot.jl/issues/comments/373177218","html_url":"https://github.com/JuliaPy/PyPlot.jl/issues/351#issuecomment-373177218","issue_url":"https://api.github.com/repos/JuliaPy/PyPlot.jl/issues/351","id":373177218,"user":{"login":"stevengj","id":2913679,"avatar_url":"https://avatars3.githubusercontent.com/u/2913679?v=4","gravatar_id":"","url":"https://api.github.com/users/stevengj","html_url":"https://github.com/stevengj","followers_url":"https://api.github.com/users/stevengj/followers","following_url":"https://api.github.com/users/stevengj/following{/other_user}","gists_url":"https://api.github.com/users/stevengj/gists{/gist_id}","starred_url":"https://api.github.com/users/stevengj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevengj/subscriptions","organizations_url":"https://api.github.com/users/stevengj/orgs","repos_url":"https://api.github.com/users/stevengj/repos","events_url":"https://api.github.com/users/stevengj/events{/privacy}","received_events_url":"https://api.github.com/users/stevengj/received_events","type":"User","site_admin":false},"created_at":"2018-03-14T21:15:18Z","updated_at":"2018-03-14T21:15:18Z","author_association":"COLLABORATOR","body":"mplot3d is now not loaded until you call one of the 3d plotting functions like `plot3D` (mainly to make PyPlot work on systems where mplot3d is not installed).\r\n\r\nI'm afraid it didn't occur to me that people would be calling `subplot(111,projection=\"3d\")` manually.   Why do you need this?    Can't you just call `plot3D` or `plot_surface` or similar directly without calling `subplot` with the `projection=\"3d\"` argument?\r\n\r\nAs a workaround, you can manually load `mplot3d` by doing `PyPlot.PyObject(PyPlot.axes3D)`."}}
{"actor":{"display_login":"stevengj"}}