Description
I have been trying to make the package work on a VS Code notebook to no avail. Some of the things I tried did work in a Jupyter notebook after much testing. I performed all of the testing by only running the first 3 examples. quickscatter
and quickquiver
work correctly on VS Code, however running the quickvolshow
example instantly crashes the application, triggering an "Are you sure you want to close without saving?" pop-up, which upon selecting any of the options does nothing and it is impossible to interact with the notebook any longer, requiring a full restart. I'm not sure whether this is a VS Code problem.
Here's everything I tried, none of the following options made quickshowvol
work:
- Default anaconda install using
python==3.10.9
, withipyvolume==0.6.0
installed from conda-forge with the automatically downloaded dependencies. This results inpythreejs==2.4.1
sincepythreejs==2.4.2
is not available on conda-forge. This hangs the kernel when executing any method on a jupyter notebook (includngquickscatter
andquickquiver
), butquickscatter
andquickquiver
work correctly on VSC. - Updating the installation to
pythreejs==2.4.2
using pip. Everything works in Jupyter notebook, but onlyquickscatter
andquickquiver
work in VSC. - Installing
ipyvolume
with pip on top of a default anaconda installation, same as above (it works on Jupyter). - Downgrading to
pythreejs==2.3.0
causes thequickscatter
andquickquiver
widgets to also not render correctly on VSC, they are missing all of the GUI elements on the right. Didn't test with Jupyter. - From empty environment using
python==3.8
, install with pipipyvolume==0.5.2
,matplotlib
andipython_genutils
. Same as above.
Is there some way to get it working? Just in case, here's one of the environments that works in Jupyter notebook but still crashes VSC.
environment.yml.txt