{"action":"created","issue":{"url":"https://api.github.com/repos/mwaskom/seaborn/issues/654","labels_url":"https://api.github.com/repos/mwaskom/seaborn/issues/654/labels{/name}","comments_url":"https://api.github.com/repos/mwaskom/seaborn/issues/654/comments","events_url":"https://api.github.com/repos/mwaskom/seaborn/issues/654/events","html_url":"https://github.com/mwaskom/seaborn/issues/654","id":97063086,"number":654,"title":"countplot orient not working","user":{"login":"guma44","id":7634398,"avatar_url":"https://avatars.githubusercontent.com/u/7634398?v=3","gravatar_id":"","url":"https://api.github.com/users/guma44","html_url":"https://github.com/guma44","followers_url":"https://api.github.com/users/guma44/followers","following_url":"https://api.github.com/users/guma44/following{/other_user}","gists_url":"https://api.github.com/users/guma44/gists{/gist_id}","starred_url":"https://api.github.com/users/guma44/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guma44/subscriptions","organizations_url":"https://api.github.com/users/guma44/orgs","repos_url":"https://api.github.com/users/guma44/repos","events_url":"https://api.github.com/users/guma44/events{/privacy}","received_events_url":"https://api.github.com/users/guma44/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-24T14:17:48Z","updated_at":"2015-07-24T16:16:45Z","closed_at":null,"body":"Hi,\r\nThe code in IPython notebook:\r\n```\r\n%matplotlib inline\r\nimport pandas as pd\r\nimport seaborn as sns\r\ndf = pd.DataFrame([[2], [2], [1], [1], [1], [3]])\r\nsns.countplot(x=0, data=df, orient='v')\r\nsns.countplot(x=0, data=df, orient='h')\r\n```\r\n\r\nproduces exactly the same output plots. This means that the option for orienting is not working.\r\n"},"comment":{"url":"https://api.github.com/repos/mwaskom/seaborn/issues/comments/124570657","html_url":"https://github.com/mwaskom/seaborn/issues/654#issuecomment-124570657","issue_url":"https://api.github.com/repos/mwaskom/seaborn/issues/654","id":124570657,"user":{"login":"mwaskom","id":315810,"avatar_url":"https://avatars.githubusercontent.com/u/315810?v=3","gravatar_id":"","url":"https://api.github.com/users/mwaskom","html_url":"https://github.com/mwaskom","followers_url":"https://api.github.com/users/mwaskom/followers","following_url":"https://api.github.com/users/mwaskom/following{/other_user}","gists_url":"https://api.github.com/users/mwaskom/gists{/gist_id}","starred_url":"https://api.github.com/users/mwaskom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwaskom/subscriptions","organizations_url":"https://api.github.com/users/mwaskom/orgs","repos_url":"https://api.github.com/users/mwaskom/repos","events_url":"https://api.github.com/users/mwaskom/events{/privacy}","received_events_url":"https://api.github.com/users/mwaskom/received_events","type":"User","site_admin":false},"created_at":"2015-07-24T16:16:45Z","updated_at":"2015-07-24T16:16:45Z","body":"You have to do \r\n\r\n```python\r\nsns.countplot(y=0, data=df, orient='h')\r\n```\r\n\r\n(that is, `y=0` instead of `x=0`. When plotting with long-form data, the assignment of variables in the dataframe to plot axes supersedes the `orient` keyword argument."}}