python - seaborn kdeplot bandwith error? -
python - seaborn kdeplot bandwith error? -
i testing seaborn bundle python. in particular using kdeplot method plotting bivariate distribution. issue comes when seek specify constant bandwidth (bw) data. think fit bw using "scott rule". using next line:
sns.kdeplot(x,y, bw=1, ...)
however, returns next error:
unboundlocalerror: local variable 'bw_x' referenced before assignment
any thought what's going on here? thanks.
python seaborn
Comments
Post a Comment