Closed muammar closed 3 years ago
Hi @muammar,
Thank you for reporting this issue and the detailed steps to reproduce the errors! It looks like when lux is imported, the groupby called by seaborn leads to some issues on the LuxDataFrame. I was not exactly able to reproduce this issue since I had trouble opening the attached molfeat.pkl
file, but testing this on a synthetic dataset of similar nature, I could not see the same error.
Could you let me know which version of Lux you are using? (i.e., print(lux.__version__)
)
You could also try to see if upgrading to the latest version of lux-api might fix the problem:
pip install --upgrade lux-api
And optionally:
jupyter nbextension install --py luxwidget
jupyter nbextension enable --py luxwidget
Please let me know if this issue is resolved after upgrading to the latest version? Thanks again!
Hi @muammar,
Thank you for reporting this issue and the detailed steps to reproduce the errors! It looks like when lux is imported, the groupby called by seaborn leads to some issues on the LuxDataFrame. I was not exactly able to reproduce this issue since I had trouble opening the attached
molfeat.pkl
file, but testing this on a synthetic dataset of similar nature, I could not see the same error.
Sorry, it took me long to reply. I am uploading a CSV
file with the same content as the pickle file to reproduce the issue:
Could you let me know which version of Lux you are using? (i.e.,
print(lux.__version__)
)
print(lux.__version__)
0.3.0
You could also try to see if upgrading to the latest version of lux-api might fix the problem:
pip install --upgrade lux-api
And optionally:
jupyter nbextension install --py luxwidget jupyter nbextension enable --py luxwidget
Please let me know if this issue is resolved after upgrading to the latest version? Thanks again!
I upgraded to 0.3.2
, and the issue is not there anymore! Thanks!
I will proceed to close the report.
That sounds great, thanks for letting us know @muammar!
Describe the bug
When importing
lux
and trying to create a.lineplot()
withseaborn
during afor
loop, I get theTypeError
shown on the title of this bug report.To Reproduce
I am uploading a notebook that can reproduce this error. You will also find a pickle file with a DataFrame that gives me the error in the zip file:
Expected behavior
Having the line plots created without any issue.
Screenshots
Error when
import lux
is activated.Commenting
import lux
, killing the kernel, and re-running the notebook:lux_error_reproducibility.zip