{"action":"created","issue":{"url":"https://api.github.com/repos/pydata/pandas/issues/8113","repository_url":"https://api.github.com/repos/pydata/pandas","labels_url":"https://api.github.com/repos/pydata/pandas/issues/8113/labels{/name}","comments_url":"https://api.github.com/repos/pydata/pandas/issues/8113/comments","events_url":"https://api.github.com/repos/pydata/pandas/issues/8113/events","html_url":"https://github.com/pydata/pandas/issues/8113","id":41098901,"number":8113,"title":"VIS: DataFrame.plot drops datetime data when kind is scatter","user":{"login":"TomAugspurger","id":1312546,"avatar_url":"https://avatars.githubusercontent.com/u/1312546?v=3","gravatar_id":"","url":"https://api.github.com/users/TomAugspurger","html_url":"https://github.com/TomAugspurger","followers_url":"https://api.github.com/users/TomAugspurger/followers","following_url":"https://api.github.com/users/TomAugspurger/following{/other_user}","gists_url":"https://api.github.com/users/TomAugspurger/gists{/gist_id}","starred_url":"https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TomAugspurger/subscriptions","organizations_url":"https://api.github.com/users/TomAugspurger/orgs","repos_url":"https://api.github.com/users/TomAugspurger/repos","events_url":"https://api.github.com/users/TomAugspurger/events{/privacy}","received_events_url":"https://api.github.com/users/TomAugspurger/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pydata/pandas/labels/Dtypes","name":"Dtypes","color":"e102d8"},{"url":"https://api.github.com/repos/pydata/pandas/labels/Visualization","name":"Visualization","color":"8AE234"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/pydata/pandas/milestones/28","html_url":"https://github.com/pydata/pandas/milestones/0.15.0","labels_url":"https://api.github.com/repos/pydata/pandas/milestones/28/labels","id":711567,"number":28,"title":"0.15.0","description":"after 0.14.1 of course!","creator":{"login":"jreback","id":953992,"avatar_url":"https://avatars.githubusercontent.com/u/953992?v=3","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":0,"closed_issues":529,"state":"closed","created_at":"2014-07-06T18:44:54Z","updated_at":"2015-05-01T16:04:51Z","due_on":"2014-10-19T07:00:00Z","closed_at":"2014-10-23T11:43:09Z"},"comments":18,"created_at":"2014-08-25T19:55:47Z","updated_at":"2016-03-29T20:35:28Z","closed_at":"2014-08-26T16:56:45Z","body":"This works fine:\r\n\r\n```python\r\nIn [13]: df = pd.DataFrame(np.random.randn(300), columns=['a'])\r\nIn [14]: df['dtime'] = pd.DatetimeIndex(start='2014-01-01', freq='h', periods=300).time\r\nIn [15]: df.plot(x='dtime', y='a')\r\nOut[15]: <matplotlib.axes._subplots.AxesSubplot at 0x118fd17f0>\r\n```\r\n\r\nThis raises a `KeyError`\r\n\r\n```python\r\nIn [17]: df.plot(x='dtime', y='a', kind='scatter')\r\n```\r\n\r\nWe call `df._get_numeric_data()` which excludes datetimes.\r\nMay happen for other kinds too.\r\n\r\nI'll fix this; just have to decide how much refactoring.\r\n\r\nMatplotlib is ok with `datetime.time` values, it chokes on `datetime` values."},"comment":{"url":"https://api.github.com/repos/pydata/pandas/issues/comments/203088694","html_url":"https://github.com/pydata/pandas/issues/8113#issuecomment-203088694","issue_url":"https://api.github.com/repos/pydata/pandas/issues/8113","id":203088694,"user":{"login":"jreback","id":953992,"avatar_url":"https://avatars.githubusercontent.com/u/953992?v=3","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},"created_at":"2016-03-29T20:35:28Z","updated_at":"2016-03-29T20:35:28Z","body":"@colin-svds this is a closed issue (from quite a while ago). you can open a new one if you would like. but pls read this one for work-arounds. I don't know if @TomAugspurger has anything more."}}