{"action":"opened","issue":{"url":"https://api.github.com/repos/pandas-dev/pandas/issues/22334","repository_url":"https://api.github.com/repos/pandas-dev/pandas","labels_url":"https://api.github.com/repos/pandas-dev/pandas/issues/22334/labels{/name}","comments_url":"https://api.github.com/repos/pandas-dev/pandas/issues/22334/comments","events_url":"https://api.github.com/repos/pandas-dev/pandas/issues/22334/events","html_url":"https://github.com/pandas-dev/pandas/issues/22334","id":350337390,"node_id":"MDU6SXNzdWUzNTAzMzczOTA=","number":22334,"title":"Plotting methods (line, area, ..) don't handle string x values","user":{"login":"jorisvandenbossche","id":1020496,"node_id":"MDQ6VXNlcjEwMjA0OTY=","avatar_url":"https://avatars2.githubusercontent.com/u/1020496?v=4","gravatar_id":"","url":"https://api.github.com/users/jorisvandenbossche","html_url":"https://github.com/jorisvandenbossche","followers_url":"https://api.github.com/users/jorisvandenbossche/followers","following_url":"https://api.github.com/users/jorisvandenbossche/following{/other_user}","gists_url":"https://api.github.com/users/jorisvandenbossche/gists{/gist_id}","starred_url":"https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jorisvandenbossche/subscriptions","organizations_url":"https://api.github.com/users/jorisvandenbossche/orgs","repos_url":"https://api.github.com/users/jorisvandenbossche/repos","events_url":"https://api.github.com/users/jorisvandenbossche/events{/privacy}","received_events_url":"https://api.github.com/users/jorisvandenbossche/received_events","type":"User","site_admin":false},"labels":[{"id":2413328,"node_id":"MDU6TGFiZWwyNDEzMzI4","url":"https://api.github.com/repos/pandas-dev/pandas/labels/Visualization","name":"Visualization","color":"8AE234","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/pandas-dev/pandas/milestones/32","html_url":"https://github.com/pandas-dev/pandas/milestone/32","labels_url":"https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels","id":933188,"node_id":"MDk6TWlsZXN0b25lOTMzMTg4","number":32,"title":"Contributions Welcome","description":"Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.","creator":{"login":"jreback","id":953992,"node_id":"MDQ6VXNlcjk1Mzk5Mg==","avatar_url":"https://avatars2.githubusercontent.com/u/953992?v=4","gravatar_id":"","url":"https://api.github.com/users/jreback","html_url":"https://github.com/jreback","followers_url":"https://api.github.com/users/jreback/followers","following_url":"https://api.github.com/users/jreback/following{/other_user}","gists_url":"https://api.github.com/users/jreback/gists{/gist_id}","starred_url":"https://api.github.com/users/jreback/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jreback/subscriptions","organizations_url":"https://api.github.com/users/jreback/orgs","repos_url":"https://api.github.com/users/jreback/repos","events_url":"https://api.github.com/users/jreback/events{/privacy}","received_events_url":"https://api.github.com/users/jreback/received_events","type":"User","site_admin":false},"open_issues":1204,"closed_issues":312,"state":"open","created_at":"2015-01-13T10:53:19Z","updated_at":"2018-08-14T08:53:56Z","due_on":"2020-12-31T08:00:00Z","closed_at":null},"comments":0,"created_at":"2018-08-14T08:53:56Z","updated_at":"2018-08-14T08:53:56Z","closed_at":null,"author_association":"MEMBER","body":"From https://github.com/pandas-dev/pandas/pull/22307#pullrequestreview-145585750: when specifying the x labels in one of our plotting calls where this consists of strings, nothing is shown on the x labels:\r\n\r\n```\r\nIn [6]: df = pd.DataFrame({'sales': [3, 2, 3], 'visits': [20, 42, 28], 'day': ['Monday', 'Tuesday', 'Wednesday']})\r\n\r\nIn [7]: ax = df.plot.area(x='day')\r\n```\r\n\r\n![figure_1-1](https://user-images.githubusercontent.com/1020496/44081733-b7cb56ba-9faf-11e8-89f0-e38544760df2.png)\r\n\r\nThe same is true for line plot, for bar plot it does work.\r\n\r\nRelated to https://github.com/pandas-dev/pandas/issues/18687 (but not exactly the same), and potentially https://github.com/pandas-dev/pandas/pull/18726. I would have expected that there is already an issue for this, but didn't directly find it."}}
{"actor":{"display_login":"jorisvandenbossche"}}