You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are once again facing issues getting the interactive widgets used in the demo Jupyter notebooks to display properly. For example, when running the EMPIAR-10076 tutorial, the filtering notebook shows this error message at cell 52 in Jupyter Lab:
We previously encountered the same issue but were able to solve it by including explicit conda install statements in the installation instructions in #34. However, this didn't solve all the issues (#137, #276) and so we ended up pinning the version of ipywidgets to <8 in #138 and also moved away from installing dependencies in this way (#146), instead specifying them in pyproject.toml. However users are still sometimes running into this problem, and even finding workarounds that don't involve a forced downgrading of ipywidgets, see e.g. #153 and #305.
There is clearly incompatibility between some versions of jupyter and some versions of plotly used for the interactive widget, and both our implicit and explicit ways of avoiding this incompatibility have failed so far. Possible solutions are:
Update the list of dependencies in pyproject.toml to more specifically avoid this incompatibility.
Use a different way of specifying dependencies that is more specific, e.g. providing a full conda environment list for users to install from as Guillawme describes here.
Use a different package for the widgets that is less sensitive to dependency issues.
The text was updated successfully, but these errors were encountered:
in the latest release v3.1.0b we have solved this by creating a new interactive filtering interface cryodrgn filter that relies solely on matplotlib — it is anyhow better to have a separate way of accessing this functionality without having to rely on the cells towards the end of a Jupyter notebook, which is prone to bugs even without the aforementioned issues with jupyterlab dependencies
the interactive widget cells in the notebook will be kept in as some people can still get them to work!
We are once again facing issues getting the interactive widgets used in the demo Jupyter notebooks to display properly. For example, when running the EMPIAR-10076 tutorial, the filtering notebook shows this error message at cell 52 in Jupyter Lab:
We previously encountered the same issue but were able to solve it by including explicit
conda install
statements in the installation instructions in #34. However, this didn't solve all the issues (#137, #276) and so we ended up pinning the version ofipywidgets
to<8
in #138 and also moved away from installing dependencies in this way (#146), instead specifying them inpyproject.toml
. However users are still sometimes running into this problem, and even finding workarounds that don't involve a forced downgrading ofipywidgets
, see e.g. #153 and #305.There is clearly incompatibility between some versions of jupyter and some versions of plotly used for the interactive widget, and both our implicit and explicit ways of avoiding this incompatibility have failed so far. Possible solutions are:
pyproject.toml
to more specifically avoid this incompatibility.The text was updated successfully, but these errors were encountered: