{"action":"created","issue":{"url":"https://api.github.com/repos/mwaskom/seaborn/issues/1092","repository_url":"https://api.github.com/repos/mwaskom/seaborn","labels_url":"https://api.github.com/repos/mwaskom/seaborn/issues/1092/labels{/name}","comments_url":"https://api.github.com/repos/mwaskom/seaborn/issues/1092/comments","events_url":"https://api.github.com/repos/mwaskom/seaborn/issues/1092/events","html_url":"https://github.com/mwaskom/seaborn/issues/1092","id":200843640,"number":1092,"title":"one kdeplot function error of seaborn ","user":{"login":"weijy026a","id":11006113,"avatar_url":"https://avatars.githubusercontent.com/u/11006113?v=3","gravatar_id":"","url":"https://api.github.com/users/weijy026a","html_url":"https://github.com/weijy026a","followers_url":"https://api.github.com/users/weijy026a/followers","following_url":"https://api.github.com/users/weijy026a/following{/other_user}","gists_url":"https://api.github.com/users/weijy026a/gists{/gist_id}","starred_url":"https://api.github.com/users/weijy026a/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weijy026a/subscriptions","organizations_url":"https://api.github.com/users/weijy026a/orgs","repos_url":"https://api.github.com/users/weijy026a/repos","events_url":"https://api.github.com/users/weijy026a/events{/privacy}","received_events_url":"https://api.github.com/users/weijy026a/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-01-15T02:30:57Z","updated_at":"2017-01-16T16:04:08Z","closed_at":null,"body":"when I run the demo Example:\r\n```\r\n>>> import numpy as np; np.random.seed(10)\r\n>>> import seaborn as sns; sns.set(color_codes=True)\r\n>>> mean, cov = [0, 2], [(1, .5), (.5, 1)]\r\n>>> x, y = np.random.multivariate_normal(mean, cov, size=50).T\r\n>>> ax = sns.kdeplot(x)\r\n```\r\nit report an error as below:\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"<stdin>\", line 1, in <module>\r\n  File \"D:\\Python\\Python35\\lib\\site-packages\\seaborn\\distributions.py\", line 604, in kdeplot\r\n    cumulative=cumulative, **kwargs)\r\n  File \"D:\\Python\\Python35\\lib\\site-packages\\seaborn\\distributions.py\", line 270, in _univariate_kdeplot\r\n    cumulative=cumulative)\r\n  File \"D:\\Python\\Python35\\lib\\site-packages\\seaborn\\distributions.py\", line 328, in _statsmodels_univariate_kde\r\n    kde.fit(kernel, bw, fft, gridsize=gridsize, cut=cut, clip=clip)\r\n  File \"D:\\Python\\Python35\\lib\\site-packages\\statsmodels\\nonparametric\\kde.py\", line 146, in fit\r\n    clip=clip, cut=cut)\r\n  File \"D:\\Python\\Python35\\lib\\site-packages\\statsmodels\\nonparametric\\kde.py\", line 506, in kdensityfft\r\n    f = revrt(zstar)\r\n  File \"D:\\Python\\Python35\\lib\\site-packages\\statsmodels\\nonparametric\\kdetools.py\", line 20, in revrt\r\n    y = X[:m/2+1] + np.r_[0,X[m/2+1:],0]*1j\r\nTypeError: slice indices must be integers or None or have an __index__ method\r\n```\r\n\r\nMy platform is win10 and seaborn version is (0.7.1) and  statsmodels version is (0.6.1)."},"comment":{"url":"https://api.github.com/repos/mwaskom/seaborn/issues/comments/272900973","html_url":"https://github.com/mwaskom/seaborn/issues/1092#issuecomment-272900973","issue_url":"https://api.github.com/repos/mwaskom/seaborn/issues/1092","id":272900973,"user":{"login":"weijy026a","id":11006113,"avatar_url":"https://avatars.githubusercontent.com/u/11006113?v=3","gravatar_id":"","url":"https://api.github.com/users/weijy026a","html_url":"https://github.com/weijy026a","followers_url":"https://api.github.com/users/weijy026a/followers","following_url":"https://api.github.com/users/weijy026a/following{/other_user}","gists_url":"https://api.github.com/users/weijy026a/gists{/gist_id}","starred_url":"https://api.github.com/users/weijy026a/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weijy026a/subscriptions","organizations_url":"https://api.github.com/users/weijy026a/orgs","repos_url":"https://api.github.com/users/weijy026a/repos","events_url":"https://api.github.com/users/weijy026a/events{/privacy}","received_events_url":"https://api.github.com/users/weijy026a/received_events","type":"User","site_admin":false},"created_at":"2017-01-16T16:04:08Z","updated_at":"2017-01-16T16:04:08Z","body":"I installed statsmodels “0.8.0rc1”, it works well now. Thank you."}}
{"actor":{"display_login":"weijy026a"}}