{"action":"created","issue":{"url":"https://api.github.com/repos/yhat/ggplot/issues/438","labels_url":"https://api.github.com/repos/yhat/ggplot/issues/438/labels{/name}","comments_url":"https://api.github.com/repos/yhat/ggplot/issues/438/comments","events_url":"https://api.github.com/repos/yhat/ggplot/issues/438/events","html_url":"https://github.com/yhat/ggplot/issues/438","id":95104900,"number":438,"title":"the breaks function of scale_y_continuous can't work","user":{"login":"catyaoheng","id":12774758,"avatar_url":"https://avatars.githubusercontent.com/u/12774758?v=3","gravatar_id":"","url":"https://api.github.com/users/catyaoheng","html_url":"https://github.com/catyaoheng","followers_url":"https://api.github.com/users/catyaoheng/followers","following_url":"https://api.github.com/users/catyaoheng/following{/other_user}","gists_url":"https://api.github.com/users/catyaoheng/gists{/gist_id}","starred_url":"https://api.github.com/users/catyaoheng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/catyaoheng/subscriptions","organizations_url":"https://api.github.com/users/catyaoheng/orgs","repos_url":"https://api.github.com/users/catyaoheng/repos","events_url":"https://api.github.com/users/catyaoheng/events{/privacy}","received_events_url":"https://api.github.com/users/catyaoheng/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-15T04:41:07Z","updated_at":"2015-07-15T04:52:33Z","closed_at":null,"body":"This is my code\r\n\r\n0. df = pd.DataFrame(dict(fpr=X, tpr=Y))\r\n1. auc = metrics.auc(x,y)\r\n2. image = ggplot(df, aes(x='fpr', y='tpr', ymin=0, ymax='tpr')) +\\\r\n3.     geom_area(alpha=0.1) +\\\r\n4.     geom_line(aes(y='tpr')) +\\\r\n5.     geom_abline(linetype='dashed') +\\\r\n6.     geom_point(x=x, y=y, color='steelblue', size=50) +\\\r\n7.     scale_x_continuous(breaks=[i*0.25 for i in range(5)], limits=[0,1.007]) +\\\r\n8.    scale_y_continuous(breaks=[i*0.1 for i in range(11)], limits=[0,1.01]) +\\\r\n9.     ggtitle(\"ROC Curve w/ AUC=%s\" % str(auc))\r\n\r\nline 8\r\nscale_y_continuous(breaks=[i*0.1 for i in range(11)], limits=[0,1.01]) +\\\r\n\r\nthe breaks does not work\r\nthe output image still shows the default y-axis breaks\r\n\r\nhope someone can fix it"},"comment":{"url":"https://api.github.com/repos/yhat/ggplot/issues/comments/121487093","html_url":"https://github.com/yhat/ggplot/issues/438#issuecomment-121487093","issue_url":"https://api.github.com/repos/yhat/ggplot/issues/438","id":121487093,"user":{"login":"catyaoheng","id":12774758,"avatar_url":"https://avatars.githubusercontent.com/u/12774758?v=3","gravatar_id":"","url":"https://api.github.com/users/catyaoheng","html_url":"https://github.com/catyaoheng","followers_url":"https://api.github.com/users/catyaoheng/followers","following_url":"https://api.github.com/users/catyaoheng/following{/other_user}","gists_url":"https://api.github.com/users/catyaoheng/gists{/gist_id}","starred_url":"https://api.github.com/users/catyaoheng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/catyaoheng/subscriptions","organizations_url":"https://api.github.com/users/catyaoheng/orgs","repos_url":"https://api.github.com/users/catyaoheng/repos","events_url":"https://api.github.com/users/catyaoheng/events{/privacy}","received_events_url":"https://api.github.com/users/catyaoheng/received_events","type":"User","site_admin":false},"created_at":"2015-07-15T04:52:33Z","updated_at":"2015-07-15T04:52:33Z","body":"1"}}