ShobiStassen / VIA

trajectory inference
https://pyvia.readthedocs.io/en/latest/
MIT License
76 stars 20 forks source link

TypeError: plot_scatter() got an unexpected keyword argument 'categorical' #44

Closed searchlie closed 11 months ago

searchlie commented 11 months ago

Hi,

I got an error when I specified embedding_type='via-mds' in VIA. image

On the other hand, when via_mds was run alone, no error occurred. image

ShobiStassen commented 11 months ago

@searchlie hey thanks for spotting this. I'll fix it soon, in the mean time are you able to just got into your core.py file and delete the parameter categorial=categorical inside the plot_scatter() function. It no longer exists. if you arent' sure how to do it let me know and i'll upload an edited version asap!

ShobiStassen commented 11 months ago

ok i just uploaded the fixed version 0.1.87! please let me know if it works for you now by the way i do suggest running via_mds() on it's own if you arent happy with the visualization when running through v0.run_via() this function has many parameters which can be important when handling larger datasets, and it's super fast so you can test it out quickly

searchlie commented 11 months ago

@ShobiStassen I updated to version 0.1.87, but another error occurred during import! image

ShobiStassen commented 11 months ago

@searchlie Hi can you try now. version 0.1.88

searchlie commented 11 months ago

@ShobiStassen It worked well! Thanks again for the quick fixes! image