{"action":"created","issue":{"url":"https://api.github.com/repos/yhat/ggplot/issues/561","repository_url":"https://api.github.com/repos/yhat/ggplot","labels_url":"https://api.github.com/repos/yhat/ggplot/issues/561/labels{/name}","comments_url":"https://api.github.com/repos/yhat/ggplot/issues/561/comments","events_url":"https://api.github.com/repos/yhat/ggplot/issues/561/events","html_url":"https://github.com/yhat/ggplot/issues/561","id":188288664,"number":561,"title":"stat_smooth get trouble","user":{"login":"nanhuayu","id":18118017,"avatar_url":"https://avatars.githubusercontent.com/u/18118017?v=3","gravatar_id":"","url":"https://api.github.com/users/nanhuayu","html_url":"https://github.com/nanhuayu","followers_url":"https://api.github.com/users/nanhuayu/followers","following_url":"https://api.github.com/users/nanhuayu/following{/other_user}","gists_url":"https://api.github.com/users/nanhuayu/gists{/gist_id}","starred_url":"https://api.github.com/users/nanhuayu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nanhuayu/subscriptions","organizations_url":"https://api.github.com/users/nanhuayu/orgs","repos_url":"https://api.github.com/users/nanhuayu/repos","events_url":"https://api.github.com/users/nanhuayu/events{/privacy}","received_events_url":"https://api.github.com/users/nanhuayu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-09T16:22:52Z","updated_at":"2016-11-11T14:01:32Z","closed_at":null,"body":"I'm a new comer to ggplot, and i tried examples in the http://ggplot.yhathq.com/\r\nthe graph worked well by ggplot(aes(x='date', y='beef'), data=meat) + geom_line() \r\nBut it went wrong when i tried  stat_smooth(color='blue'), no matter what span value I've changed.\r\nFrom:nanhuayu\r\nHere is what my graph looks like:\r\n![figure_1](https://cloud.githubusercontent.com/assets/18118017/20145611/b72f1da0-a6db-11e6-9e5b-fc43fdbae956.png)\r\n"},"comment":{"url":"https://api.github.com/repos/yhat/ggplot/issues/comments/259963030","html_url":"https://github.com/yhat/ggplot/issues/561#issuecomment-259963030","issue_url":"https://api.github.com/repos/yhat/ggplot/issues/561","id":259963030,"user":{"login":"Ezibenroc","id":8900834,"avatar_url":"https://avatars.githubusercontent.com/u/8900834?v=3","gravatar_id":"","url":"https://api.github.com/users/Ezibenroc","html_url":"https://github.com/Ezibenroc","followers_url":"https://api.github.com/users/Ezibenroc/followers","following_url":"https://api.github.com/users/Ezibenroc/following{/other_user}","gists_url":"https://api.github.com/users/Ezibenroc/gists{/gist_id}","starred_url":"https://api.github.com/users/Ezibenroc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ezibenroc/subscriptions","organizations_url":"https://api.github.com/users/Ezibenroc/orgs","repos_url":"https://api.github.com/users/Ezibenroc/repos","events_url":"https://api.github.com/users/Ezibenroc/events{/privacy}","received_events_url":"https://api.github.com/users/Ezibenroc/received_events","type":"User","site_admin":false},"created_at":"2016-11-11T14:01:32Z","updated_at":"2016-11-11T14:01:32Z","body":"I have the same issue on Ubuntu 16.04 with Python 3.5 and ggplot installed with `pip3 install --user ggplot`.\r\n\r\nMoreover, when I run this example, I get the following warning:\r\n```\r\n/home/tom/.local/lib/python3.5/site-packages/ggplot/stats/stat_smooth.py:77: FutureWarning: sort(columns=....) is deprecated, use sort_values(by=.....)\r\n  smoothed_data = smoothed_data.sort('x')\r\n```\r\n\r\nThe warning is easily fixed by changing one line of `stat_smooth.py`, however it does not fix the bug."}}
{"actor":{"display_login":"Ezibenroc"}}